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

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

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
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 // TestRemovableDeviceNotificationsWindowWin implementation. 5 // TestStorageMonitorWin implementation.
6 6
7 #include "chrome/browser/storage_monitor/test_removable_device_notifications_win dow_win.h" 7 #include "chrome/browser/storage_monitor/test_storage_monitor_win.h"
8 8
9 #include "chrome/browser/storage_monitor/test_portable_device_watcher_win.h" 9 #include "chrome/browser/storage_monitor/test_portable_device_watcher_win.h"
10 #include "chrome/browser/storage_monitor/test_volume_mount_watcher_win.h" 10 #include "chrome/browser/storage_monitor/test_volume_mount_watcher_win.h"
11 11
12 namespace chrome { 12 namespace chrome {
13 namespace test { 13 namespace test {
14 14
15 TestRemovableDeviceNotificationsWindowWin:: 15 TestStorageMonitorWin::TestStorageMonitorWin(
16 TestRemovableDeviceNotificationsWindowWin(
17 TestVolumeMountWatcherWin* volume_mount_watcher, 16 TestVolumeMountWatcherWin* volume_mount_watcher,
18 TestPortableDeviceWatcherWin* portable_device_watcher) 17 TestPortableDeviceWatcherWin* portable_device_watcher)
19 : RemovableDeviceNotificationsWindowWin(volume_mount_watcher, 18 : StorageMonitorWin(volume_mount_watcher,
20 portable_device_watcher) { 19 portable_device_watcher) {
vandebo (ex-Chrome) 2013/03/02 00:23:37 nit: line wrap.
21 DCHECK(volume_mount_watcher_); 20 DCHECK(volume_mount_watcher_);
22 DCHECK(portable_device_watcher); 21 DCHECK(portable_device_watcher);
23 } 22 }
24 23
25 TestRemovableDeviceNotificationsWindowWin:: 24 TestStorageMonitorWin::~TestStorageMonitorWin() {
26 ~TestRemovableDeviceNotificationsWindowWin() {
27 } 25 }
28 26
29 void TestRemovableDeviceNotificationsWindowWin::InjectDeviceChange( 27 void TestStorageMonitorWin::InjectDeviceChange(
30 UINT event_type, 28 UINT event_type,
31 DWORD data) { 29 DWORD data) {
vandebo (ex-Chrome) 2013/03/02 00:23:37 nit: line wrap.
32 OnDeviceChange(event_type, data); 30 OnDeviceChange(event_type, data);
33 } 31 }
34 32
35 VolumeMountWatcherWin* 33 VolumeMountWatcherWin*
36 TestRemovableDeviceNotificationsWindowWin::volume_mount_watcher() { 34 TestStorageMonitorWin::volume_mount_watcher() {
37 return volume_mount_watcher_.get(); 35 return volume_mount_watcher_.get();
38 } 36 }
39 37
40 } // namespace test 38 } // namespace test
41 } // namespace chrome 39 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698