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

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 more indentation issues. 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
vandebo (ex-Chrome) 2013/03/02 00:23:37 This file is no longer detected as copied. Use th
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // This file contains a subclass of StorageMonitorWin to
6 // simulate device changed events for testing.
vandebo (ex-Chrome) 2013/03/02 00:23:37 re-line wrap
7
8 #ifndef CHROME_BROWSER_STORAGE_MONITOR_TEST_STORAGE_MONITOR_WIN_H_
9 #define CHROME_BROWSER_STORAGE_MONITOR_TEST_STORAGE_MONITOR_WIN_H_
10
11 #include <windows.h>
12
13 #include "base/memory/ref_counted.h"
14 #include "chrome/browser/storage_monitor/storage_monitor_win.h"
15
16 namespace chrome {
17 namespace test {
18
19 class TestPortableDeviceWatcherWin;
20 class TestVolumeMountWatcherWin;
21
22 class TestStorageMonitorWin: public StorageMonitorWin {
23 public:
24 TestStorageMonitorWin(
25 TestVolumeMountWatcherWin* volume_mount_watcher,
26 TestPortableDeviceWatcherWin* portable_device_watcher);
27
28 virtual ~TestStorageMonitorWin();
29
30 void InjectDeviceChange(UINT event_type, DWORD data);
31
32 VolumeMountWatcherWin* volume_mount_watcher();
33
34 private:
35 DISALLOW_COPY_AND_ASSIGN(TestStorageMonitorWin);
36 };
37
38 } // namespace test
39 } // namespace chrome
40
41 #endif // CHROME_BROWSER_STORAGE_MONITOR_TEST_STORAGE_MONITOR_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698