blob: 2438e4d3c876184a4cdd0835399bb417f948e6ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// 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_
|