Chromium Code Reviews| 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 01c2eb93e039131faa11d35a60ab5688134bb724..d11f9c42a79bc3c1f832eb955ff7ff491cf59c21 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. |
|
mmenke
2014/03/31 18:10:20
Think this needs a comment on what "id" is.
eustas
2014/04/18 12:33:19
Done.
|
| + 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(); |