[go: nahoru, domu]

blob: 2438e4d3c876184a4cdd0835399bb417f948e6ca [file] [log] [blame]
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_ROUTING_DELEGATE_H_
#define CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_ROUTING_DELEGATE_H_
#include "base/basictypes.h"
class RenderViewHost;
// Interface for registering RenderViewHost instances for resource routing
// automation.
class AutomationResourceRoutingDelegate {
public:
// Call to register |render_view_host| for resource routing automation
// by the delegate.
virtual void RegisterRenderViewHost(RenderViewHost* render_view_host);
// Call to unregister |render_view_host| from resource routing automation.
virtual void UnregisterRenderViewHost(RenderViewHost* render_view_host);
protected:
AutomationResourceRoutingDelegate();
virtual ~AutomationResourceRoutingDelegate();
private:
DISALLOW_COPY_AND_ASSIGN(AutomationResourceRoutingDelegate);
};
#endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_ROUTING_DELEGATE_H_