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

Side by Side Diff: components/storage_monitor/storage_monitor_win.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/storage_monitor/storage_monitor_win.h" 5 #include "components/storage_monitor/storage_monitor_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <dbt.h> 8 #include <dbt.h>
9 #include <fileapi.h> 9 #include <fileapi.h>
10 #include <shlobj.h> 10 #include <shlobj.h>
11 #include <stddef.h>
11 12
12 #include "base/win/wrapped_window_proc.h" 13 #include "base/win/wrapped_window_proc.h"
13 #include "components/storage_monitor/portable_device_watcher_win.h" 14 #include "components/storage_monitor/portable_device_watcher_win.h"
14 #include "components/storage_monitor/removable_device_constants.h" 15 #include "components/storage_monitor/removable_device_constants.h"
15 #include "components/storage_monitor/storage_info.h" 16 #include "components/storage_monitor/storage_info.h"
16 #include "components/storage_monitor/volume_mount_watcher_win.h" 17 #include "components/storage_monitor/volume_mount_watcher_win.h"
17 18
18 #define WM_USER_MEDIACHANGED (WM_USER + 5) 19 #define WM_USER_MEDIACHANGED (WM_USER + 5)
19 20
20 // StorageMonitorWin ------------------------------------------------------- 21 // StorageMonitorWin -------------------------------------------------------
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void StorageMonitorWin::OnMediaChange(WPARAM wparam, LPARAM lparam) { 191 void StorageMonitorWin::OnMediaChange(WPARAM wparam, LPARAM lparam) {
191 volume_mount_watcher_->OnMediaChange(wparam, lparam); 192 volume_mount_watcher_->OnMediaChange(wparam, lparam);
192 } 193 }
193 194
194 StorageMonitor* StorageMonitor::CreateInternal() { 195 StorageMonitor* StorageMonitor::CreateInternal() {
195 return new StorageMonitorWin(new VolumeMountWatcherWin(), 196 return new StorageMonitorWin(new VolumeMountWatcherWin(),
196 new PortableDeviceWatcherWin()); 197 new PortableDeviceWatcherWin());
197 } 198 }
198 199
199 } // namespace storage_monitor 200 } // namespace storage_monitor
OLDNEW
« no previous file with comments | « components/storage_monitor/storage_monitor_win.h ('k') | components/storage_monitor/storage_monitor_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698