Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2528)

Unified Diff: content/shell/browser/shell_browser_context.cc

Issue 182993003: Add the ability for DevTools to wrap network transactions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/shell_browser_context.cc
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc
index b37521e53eee89bfb0455d6af1543751a73728c5..29c4868c7e26397ee0ec690a13c20bdc7d682824 100644
--- a/content/shell/browser/shell_browser_context.cc
+++ b/content/shell/browser/shell_browser_context.cc
@@ -49,6 +49,9 @@ class ShellBrowserContext::ShellResourceContext : public ResourceContext {
virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE {
return false;
}
+ virtual void SetNetworkState(
+ const std::string& client_id,
+ bool offline) OVERRIDE {}
void set_url_request_context_getter(ShellURLRequestContextGetter* getter) {
getter_ = getter;

Powered by Google App Engine
This is Rietveld 408576698