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

Side by Side Diff: chrome/browser/system_monitor/test_removable_storage_notifications.h

Issue 11573048: [Media Galleries] Move RemovableStorageInfo notifications to chrome namespace (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typedef, init observer 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_
6 #define CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_
7
8 #include "chrome/browser/system_monitor/removable_storage_notifications.h"
9
10 namespace chrome {
11 namespace test {
12
13 // Needed to set up the RemovableStorageNotifications singleton (done in
14 // the base class).
15 class TestRemovableStorageNotifications
16 : public chrome::RemovableStorageNotifications {
17 public:
18 TestRemovableStorageNotifications();
19 virtual ~TestRemovableStorageNotifications();
20
21 virtual bool GetDeviceInfoForPath(
22 const FilePath& path,
23 StorageInfo* device_info) const OVERRIDE;
24
25 virtual uint64 GetStorageSize(const std::string& location) const OVERRIDE;
26
27 #if defined(OS_WIN)
28 virtual bool GetMTPStorageInfoFromDeviceId(
29 const std::string& storage_device_id,
30 string16* device_location,
31 string16* storage_object_id) const OVERRIDE;
32 #endif
33 };
34
35 } // namespace test
36 } // namespace chrome
37
38 #endif // CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698