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

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

Issue 16472007: Rename StorageMonitor Initialize function to EnsureInitialized for better understanding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comments Created 7 years, 6 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_galleries/media_file_system_registry_unittest.cc
diff --git a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
index c7b4adc4439ac9a99f615d2c42f87fd0f4637fe0..0b278a3e677bdfb7c544d48f25e1ac066450b47a 100644
--- a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
@@ -771,7 +771,7 @@ void MediaFileSystemRegistryTest::SetUp() {
monitor_->MarkInitialized();
#endif
base::RunLoop runloop;
- monitor_->Initialize(runloop.QuitClosure());
+ monitor_->EnsureInitialized(runloop.QuitClosure());
runloop.Run();
DeleteContents();

Powered by Google App Engine
This is Rietveld 408576698