Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 2fe20485aca85fb3d3b459752989b10c9d19cbf3..326ab3379f604e896c6622bdfef783e83d3a6db1 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -542,6 +542,12 @@ class CONTENT_EXPORT ContentBrowserClient { |
// Clears browser cookies. |
virtual void ClearCookies(RenderViewHost* rvh) {} |
+ // Disables / reenables network. |id| should be DevToolsAgentHost GUID. |
+ virtual void DisableNetwork( |
+ RenderViewHost* rvh, |
+ const std::string& id, |
+ bool disable) {} |
+ |
// Returns the default download directory. |
// This can be called on any thread. |
virtual base::FilePath GetDefaultDownloadDirectory(); |