| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void SetRenderViewHost(RenderViewHost* rvh); | 83 void SetRenderViewHost(RenderViewHost* rvh); |
| 84 void ClearRenderViewHost(); | 84 void ClearRenderViewHost(); |
| 85 | 85 |
| 86 void RenderViewCrashed(); | 86 void RenderViewCrashed(); |
| 87 void OnSwapCompositorFrame(const IPC::Message& message); | 87 void OnSwapCompositorFrame(const IPC::Message& message); |
| 88 | 88 |
| 89 void OnDispatchOnInspectorFrontend(const std::string& message); | 89 void OnDispatchOnInspectorFrontend(const std::string& message); |
| 90 void OnSaveAgentRuntimeState(const std::string& state); | 90 void OnSaveAgentRuntimeState(const std::string& state); |
| 91 void OnClearBrowserCache(); | 91 void OnClearBrowserCache(); |
| 92 void OnClearBrowserCookies(); | 92 void OnClearBrowserCookies(); |
| 93 void OnSetBlockedDomains(const std::vector<std::string>& blocked_domains); |
| 94 |
| 95 void UpdateBlockedDomains(const std::vector<std::string>& blocked_domains); |
| 93 | 96 |
| 94 void ClientDetachedFromRenderer(); | 97 void ClientDetachedFromRenderer(); |
| 95 | 98 |
| 96 RenderViewHost* render_view_host_; | 99 RenderViewHost* render_view_host_; |
| 97 scoped_ptr<RendererOverridesHandler> overrides_handler_; | 100 scoped_ptr<RendererOverridesHandler> overrides_handler_; |
| 98 scoped_ptr<DevToolsTracingHandler> tracing_handler_; | 101 scoped_ptr<DevToolsTracingHandler> tracing_handler_; |
| 99 scoped_ptr<DevToolsPowerHandler> power_handler_; | 102 scoped_ptr<DevToolsPowerHandler> power_handler_; |
| 100 #if defined(OS_ANDROID) | 103 #if defined(OS_ANDROID) |
| 101 scoped_ptr<PowerSaveBlockerImpl> power_save_blocker_; | 104 scoped_ptr<PowerSaveBlockerImpl> power_save_blocker_; |
| 102 #endif | 105 #endif |
| 103 std::string state_; | 106 std::string state_; |
| 107 std::vector<std::string> blocked_domains_; |
| 104 NotificationRegistrar registrar_; | 108 NotificationRegistrar registrar_; |
| 105 | 109 |
| 106 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); | 110 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); |
| 107 }; | 111 }; |
| 108 | 112 |
| 109 } // namespace content | 113 } // namespace content |
| 110 | 114 |
| 111 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 115 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |