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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry_unittest.cc

Issue 12147002: Add a receiver interface to RemovableStorageNotifications. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 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: chrome/browser/media_gallery/media_file_system_registry_unittest.cc
diff --git a/chrome/browser/media_gallery/media_file_system_registry_unittest.cc b/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
index 48b83d250bfbc31c1bfb387c95e7bda93acad43d..c1d92d75b88c84572ee7c08a99ef286746725d77 100644
--- a/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
@@ -362,12 +362,11 @@ class MediaFileSystemRegistryTest : public ChromeRenderViewHostTestHarness {
void ProcessAttach(const std::string& id,
const string16& name,
const FilePath::StringType& location) {
- RemovableStorageNotifications::GetInstance()->ProcessAttach(
- id, name, location);
+ notifications_.ProcessAttach(id, name, location);
}
void ProcessDetach(const std::string& id) {
- RemovableStorageNotifications::GetInstance()->ProcessDetach(id);
+ notifications_.ProcessDetach(id);
}
protected:

Powered by Google App Engine
This is Rietveld 408576698