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

Side by Side Diff: chrome/browser/storage_monitor/test_storage_monitor_win.h

Issue 12382005: Rename RemovableDeviceNotifications=>StorageMonitor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some includes from recent merge. Created 7 years, 9 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains a subclass of RemovableDeviceNotificationsWindowWin to 5 // This file contains a subclass of StorageMonitorWindowWin to
6 // simulate device changed events for testing. 6 // simulate device changed events for testing.
7 7
8 #ifndef CHROME_BROWSER_STORAGE_MONITOR_TEST_REMOVABLE_DEVICE_NOTIFICATIONS_WINDO W_WIN_H_ 8 #ifndef CHROME_BROWSER_STORAGE_MONITOR_TEST_REMOVABLE_DEVICE_NOTIFICATIONS_WINDO W_WIN_H_
vandebo (ex-Chrome) 2013/03/01 19:47:39 update include guards.
9 #define CHROME_BROWSER_STORAGE_MONITOR_TEST_REMOVABLE_DEVICE_NOTIFICATIONS_WINDO W_WIN_H_ 9 #define CHROME_BROWSER_STORAGE_MONITOR_TEST_REMOVABLE_DEVICE_NOTIFICATIONS_WINDO W_WIN_H_
10 10
11 #include <windows.h> 11 #include <windows.h>
12 12
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "chrome/browser/storage_monitor/removable_device_notifications_window_w in.h" 14 #include "chrome/browser/storage_monitor/storage_monitor_win.h"
15 15
16 namespace chrome { 16 namespace chrome {
17 namespace test { 17 namespace test {
18 18
19 class TestPortableDeviceWatcherWin; 19 class TestPortableDeviceWatcherWin;
20 class TestVolumeMountWatcherWin; 20 class TestVolumeMountWatcherWin;
21 21
22 class TestRemovableDeviceNotificationsWindowWin 22 class TestStorageMonitorWindowWin
23 : public RemovableDeviceNotificationsWindowWin { 23 : public StorageMonitorWin {
vandebo (ex-Chrome) 2013/03/01 19:47:39 nit: line wrap.
24 public: 24 public:
25 TestRemovableDeviceNotificationsWindowWin( 25 TestStorageMonitorWindowWin(
26 TestVolumeMountWatcherWin* volume_mount_watcher, 26 TestVolumeMountWatcherWin* volume_mount_watcher,
27 TestPortableDeviceWatcherWin* portable_device_watcher); 27 TestPortableDeviceWatcherWin* portable_device_watcher);
28 28
29 virtual ~TestRemovableDeviceNotificationsWindowWin(); 29 virtual ~TestStorageMonitorWindowWin();
30 30
31 void InjectDeviceChange(UINT event_type, DWORD data); 31 void InjectDeviceChange(UINT event_type, DWORD data);
32 32
33 VolumeMountWatcherWin* volume_mount_watcher(); 33 VolumeMountWatcherWin* volume_mount_watcher();
34 34
35 private: 35 private:
36 DISALLOW_COPY_AND_ASSIGN(TestRemovableDeviceNotificationsWindowWin); 36 DISALLOW_COPY_AND_ASSIGN(TestStorageMonitorWindowWin);
37 }; 37 };
38 38
39 } // namespace test 39 } // namespace test
40 } // namespace chrome 40 } // namespace chrome
41 41
42 #endif // CHROME_BROWSER_STORAGE_MONITOR_TEST_REMOVABLE_DEVICE_NOTIFICATIONS_WI NDOW_WIN_H_ 42 #endif // CHROME_BROWSER_STORAGE_MONITOR_TEST_REMOVABLE_DEVICE_NOTIFICATIONS_WI NDOW_WIN_H_
vandebo (ex-Chrome) 2013/03/01 19:47:39 and here.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698