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

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

Issue 11573048: [Media Galleries] Move RemovableStorageInfo notifications to chrome namespace (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working on windows 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/system_monitor/test_removable_storage_notifications.cc
diff --git a/chrome/browser/system_monitor/test_removable_storage_notifications.cc b/chrome/browser/system_monitor/test_removable_storage_notifications.cc
new file mode 100644
index 0000000000000000000000000000000000000000..56d4f41dd332dba816f7f50623053ad0d865d16e
--- /dev/null
+++ b/chrome/browser/system_monitor/test_removable_storage_notifications.cc
@@ -0,0 +1,36 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/system_monitor/test_removable_storage_notifications.h"
+
+namespace chrome {
+namespace test {
+
+TestRemovableStorageNotifications::TestRemovableStorageNotifications()
+ : RemovableStorageNotifications() {}
+
+TestRemovableStorageNotifications::~TestRemovableStorageNotifications() {}
+
+bool TestRemovableStorageNotifications::GetDeviceInfoForPath(
+ const FilePath& path,
+ StorageInfo* device_info) const {
+ return false;
+}
+
+uint64 TestRemovableStorageNotifications::GetStorageSize(
+ const std::string& location) const {
+ return 0;
+}
+
+#if defined(OS_WIN)
+bool TestRemovableStorageNotifications::GetMTPStorageInfoFromDeviceId(
+ const std::string& storage_device_id,
+ string16* device_location,
+ string16* storage_object_id) const {
+ return false;
+}
+#endif
+
+} // namespace test
+} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698