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

Unified Diff: chrome/browser/system_monitor/test_removable_storage_notifications.h

Issue 12147002: Add a receiver interface to RemovableStorageNotifications. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merging Created 7 years, 10 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/system_monitor/test_removable_storage_notifications.h
diff --git a/chrome/browser/system_monitor/test_removable_storage_notifications.h b/chrome/browser/system_monitor/test_removable_storage_notifications.h
index 448960f7990a7b110c10e0773b1e51a1e4eedb5b..f9547f68acb3ebf7a448f6d0ec02b804b05e39e2 100644
--- a/chrome/browser/system_monitor/test_removable_storage_notifications.h
+++ b/chrome/browser/system_monitor/test_removable_storage_notifications.h
@@ -30,6 +30,16 @@ class TestRemovableStorageNotifications
string16* device_location,
string16* storage_object_id) const OVERRIDE;
#endif
+
+ // TODO(gbillock): Update tests to use receiver and
+ // get rid of ProcessAttach/ProcessDetach here.
+ void ProcessAttach(const std::string& id,
+ const string16& name,
+ const FilePath::StringType& location);
+
+ void ProcessDetach(const std::string& id);
+
+ virtual Receiver* receiver() const OVERRIDE;
};
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698