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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.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: Added MediaDeviceIDSalt::ShutdownOnUIThread. Added GetDeviceIDSalt on ShellResourceContext. 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: chrome/browser/browsing_data/browsing_data_remover.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
index 4824b4ad5e27dbca1b22331a585420170e72fbdf..d81843492729eabd8b8b896f50779e76b5fdf7a6 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -29,6 +29,7 @@
#include "chrome/browser/history/history_service.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/io_thread.h"
+#include "chrome/browser/media/media_device_id_salt.h"
#include "chrome/browser/nacl_host/pnacl_host.h"
#include "chrome/browser/net/chrome_url_request_context.h"
#include "chrome/browser/net/predictor.h"
@@ -433,6 +434,7 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
}
}
#endif
+ MediaDeviceIDSalt::Reset(profile_->GetPrefs());
}
// Server bound certs are not separated for protected and unprotected web

Powered by Google App Engine
This is Rietveld 408576698