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

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

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.cc
diff --git a/content/public/test/mock_resource_context.cc b/content/public/test/mock_resource_context.cc
index 342766c5f4faeae1e853d0df780b5e4726a6cac7..d3b1308a549ca2604bb29c3f303a1fc04799af90 100644
--- a/content/public/test/mock_resource_context.cc
+++ b/content/public/test/mock_resource_context.cc
@@ -38,4 +38,8 @@ bool MockResourceContext::AllowCameraAccess(const GURL& origin) {
return camera_allowed_;
}
+std::string MockResourceContext::GetMediaDeviceIDSalt() {
+ return "mock_salt";
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698