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

Unified Diff: content/test/test_content_browser_client.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: Addressed review comments from tommi,joi and bauerb. 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/test/test_content_browser_client.cc
diff --git a/content/test/test_content_browser_client.cc b/content/test/test_content_browser_client.cc
index 7b9d3683aa87a683952c509f5fd7399786a2a7dc..640796160e473fee6afa2e12dfff8015b4aa0915 100644
--- a/content/test/test_content_browser_client.cc
+++ b/content/test/test_content_browser_client.cc
@@ -38,4 +38,10 @@ base::FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() {
return download_dir_.path();
}
+std::string TestContentBrowserClient::GetMediaDeviceIDSalt(
+ ResourceContext* rc) {
+ CHECK(rc);
+ return "test_salt";
+}
+
} // namespace content
« content/browser/media_devices_monitor.cc ('K') | « content/test/test_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698