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

Unified Diff: content/public/test/mock_resource_context.h

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/public/test/mock_resource_context.h
diff --git a/content/public/test/mock_resource_context.h b/content/public/test/mock_resource_context.h
index 8f1791a5f8bb9b7b2e0746409ce1ff47280590ef..2d0b121f74e38542a81995a0f8deed277d0216aa 100644
--- a/content/public/test/mock_resource_context.h
+++ b/content/public/test/mock_resource_context.h
@@ -30,6 +30,9 @@ class MockResourceContext : public ResourceContext {
virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
virtual bool AllowMicAccess(const GURL& origin) OVERRIDE;
virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE;
+ virtual void SetNetworkState(
+ const std::string& client_id,
+ bool offline) OVERRIDE {};
//////////////////////////////////////////////////////////////////////////
// The following functions are used by tests.

Powered by Google App Engine
This is Rietveld 408576698