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

Unified Diff: content/browser/loader/resource_scheduler_unittest.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, 7 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/browser/loader/resource_scheduler_unittest.cc
diff --git a/content/browser/loader/resource_scheduler_unittest.cc b/content/browser/loader/resource_scheduler_unittest.cc
index 7fba2a54306d94a4b50fa1a50f5df27f6018e07d..5ab73ea22e920638037a01c25ff43d8a18680830 100644
--- a/content/browser/loader/resource_scheduler_unittest.cc
+++ b/content/browser/loader/resource_scheduler_unittest.cc
@@ -92,6 +92,9 @@ class FakeResourceContext : public ResourceContext {
virtual net::URLRequestContext* GetRequestContext() OVERRIDE { return NULL; }
virtual bool AllowMicAccess(const GURL& origin) OVERRIDE { return false; }
virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE { return false; }
+ virtual void SetNetworkState(
+ const std::string& client_id,
+ bool offline) OVERRIDE {};
};
class FakeResourceMessageFilter : public ResourceMessageFilter {

Powered by Google App Engine
This is Rietveld 408576698