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

Side by Side Diff: chrome/browser/storage_monitor/test_removable_device_notifications_window_win.cc

Issue 12382005: Rename RemovableDeviceNotifications=>StorageMonitor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // TestRemovableDeviceNotificationsWindowWin implementation.
6
7 #include "chrome/browser/storage_monitor/test_removable_device_notifications_win dow_win.h"
8
9 #include "chrome/browser/storage_monitor/test_portable_device_watcher_win.h"
10 #include "chrome/browser/storage_monitor/test_volume_mount_watcher_win.h"
11
12 namespace chrome {
13 namespace test {
14
15 TestRemovableDeviceNotificationsWindowWin::
16 TestRemovableDeviceNotificationsWindowWin(
17 TestVolumeMountWatcherWin* volume_mount_watcher,
18 TestPortableDeviceWatcherWin* portable_device_watcher)
19 : RemovableDeviceNotificationsWindowWin(volume_mount_watcher,
20 portable_device_watcher) {
21 DCHECK(volume_mount_watcher_);
22 DCHECK(portable_device_watcher);
23 }
24
25 TestRemovableDeviceNotificationsWindowWin::
26 ~TestRemovableDeviceNotificationsWindowWin() {
27 }
28
29 void TestRemovableDeviceNotificationsWindowWin::InjectDeviceChange(
30 UINT event_type,
31 DWORD data) {
32 OnDeviceChange(event_type, data);
33 }
34
35 VolumeMountWatcherWin*
36 TestRemovableDeviceNotificationsWindowWin::volume_mount_watcher() {
37 return volume_mount_watcher_.get();
38 }
39
40 } // namespace test
41 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698