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

Unified Diff: chrome/browser/storage_monitor/storage_info_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
« no previous file with comments | « chrome/browser/storage_monitor/storage_info.cc ('k') | chrome/browser/storage_monitor/storage_monitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/storage_monitor/storage_info_unittest.cc
diff --git a/chrome/browser/storage_monitor/storage_info_unittest.cc b/chrome/browser/storage_monitor/storage_info_unittest.cc
index b29cc50e5717429d6bb636b0508521e0ea6f6342..36229c5699d9944b9296d44cd22d9f3eda763542 100644
--- a/chrome/browser/storage_monitor/storage_info_unittest.cc
+++ b/chrome/browser/storage_monitor/storage_info_unittest.cc
@@ -11,8 +11,6 @@ const char kMtpDeviceId[] = "mtp:VendorModelSerial:ABC:1233:1237912873";
const char kUniqueId[] = "VendorModelSerial:ABC:1233:1237912873";
const char kImageCaptureDeviceId[] = "ic:xyz";
-namespace chrome {
-
// Test to verify |MakeDeviceId| functionality using a sample
// mtp device unique id.
TEST(StorageInfoTest, MakeMtpDeviceId) {
@@ -32,11 +30,9 @@ TEST(StorageInfoTest, CrackMtpDeviceId) {
}
TEST(StorageInfoTest, TestImageCaptureDeviceId) {
- chrome::StorageInfo::Type type;
+ StorageInfo::Type type;
std::string id;
ASSERT_TRUE(StorageInfo::CrackDeviceId(kImageCaptureDeviceId, &type, &id));
EXPECT_EQ(StorageInfo::MAC_IMAGE_CAPTURE, type);
EXPECT_EQ("xyz", id);
}
-
-} // namespace chrome
« no previous file with comments | « chrome/browser/storage_monitor/storage_info.cc ('k') | chrome/browser/storage_monitor/storage_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698