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

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

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved GetMediaDeviceIDSalt to ResourceContext. Created 7 years, 1 month 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..3421250dcead6a8a6692adc746c3db98bdd5ddb1 100644
--- a/content/public/test/mock_resource_context.h
+++ b/content/public/test/mock_resource_context.h
@@ -30,6 +30,7 @@ class MockResourceContext : public ResourceContext {
virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
virtual bool AllowMicAccess(const GURL& origin) OVERRIDE;
virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE;
+ virtual std::string GetMediaDeviceIDSalt() OVERRIDE;
//////////////////////////////////////////////////////////////////////////
// The following functions are used by tests.

Powered by Google App Engine
This is Rietveld 408576698