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

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

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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_galleries_dialog_controller_unittest.cc
diff --git a/chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc b/chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc
index 71f54edbfb7b1f4be5d4944ae2c4e998c6759e54..8590e805f4d5b336f76ee595bd27d422a2f91fac 100644
--- a/chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc
+++ b/chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc
@@ -12,15 +12,13 @@
#include "chrome/browser/storage_monitor/test_storage_monitor.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace chrome {
-
std::string GalleryName(const MediaGalleryPrefInfo& gallery) {
string16 name = gallery.GetGalleryDisplayName();
return UTF16ToASCII(name);
}
TEST(MediaGalleriesDialogControllerTest, TestNameGeneration) {
- ASSERT_TRUE(test::TestStorageMonitor::CreateAndInstall());
+ ASSERT_TRUE(TestStorageMonitor::CreateAndInstall());
MediaGalleryPrefInfo gallery;
gallery.pref_id = 1;
gallery.device_id = StorageInfo::MakeDeviceId(
@@ -61,7 +59,5 @@ TEST(MediaGalleriesDialogControllerTest, TestNameGeneration) {
gallery.path = base::FilePath(FILE_PATH_LITERAL("sub/path"));
EXPECT_EQ("path - 977 KB vendor, model", GalleryName(gallery));
- test::TestStorageMonitor::RemoveSingleton();
+ TestStorageMonitor::RemoveSingleton();
}
-
-} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698