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

Side by Side Diff: components/storage_monitor/storage_monitor_chromeos.h

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 // StorageMonitorCros listens for mount point changes and notifies listeners 5 // StorageMonitorCros listens for mount point changes and notifies listeners
6 // about the addition and deletion of media devices. This class lives on the 6 // about the addition and deletion of media devices. This class lives on the
7 // UI thread. 7 // UI thread.
8 8
9 #ifndef COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_CHROMEOS_H_ 9 #ifndef COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_CHROMEOS_H_
10 #define COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_CHROMEOS_H_ 10 #define COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_CHROMEOS_H_
11 11
12 #if !defined(OS_CHROMEOS) 12 #if !defined(OS_CHROMEOS)
13 #error "Should only be used on ChromeOS." 13 #error "Should only be used on ChromeOS."
14 #endif 14 #endif
15 15
16 #include <map> 16 #include <map>
17 #include <string> 17 #include <string>
18 18
19 #include "base/basictypes.h"
20 #include "base/compiler_specific.h" 19 #include "base/compiler_specific.h"
20 #include "base/macros.h"
21 #include "base/memory/scoped_ptr.h" 21 #include "base/memory/scoped_ptr.h"
22 #include "base/memory/weak_ptr.h" 22 #include "base/memory/weak_ptr.h"
23 #include "build/build_config.h"
23 #include "chromeos/disks/disk_mount_manager.h" 24 #include "chromeos/disks/disk_mount_manager.h"
24 #include "components/storage_monitor/storage_monitor.h" 25 #include "components/storage_monitor/storage_monitor.h"
25 26
26 namespace storage_monitor { 27 namespace storage_monitor {
27 28
28 class MediaTransferProtocolDeviceObserverLinux; 29 class MediaTransferProtocolDeviceObserverLinux;
29 30
30 class StorageMonitorCros : public StorageMonitor, 31 class StorageMonitorCros : public StorageMonitor,
31 public chromeos::disks::DiskMountManager::Observer { 32 public chromeos::disks::DiskMountManager::Observer {
32 public: 33 public:
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 media_transfer_protocol_device_observer_; 90 media_transfer_protocol_device_observer_;
90 91
91 base::WeakPtrFactory<StorageMonitorCros> weak_ptr_factory_; 92 base::WeakPtrFactory<StorageMonitorCros> weak_ptr_factory_;
92 93
93 DISALLOW_COPY_AND_ASSIGN(StorageMonitorCros); 94 DISALLOW_COPY_AND_ASSIGN(StorageMonitorCros);
94 }; 95 };
95 96
96 } // namespace storage_monitor 97 } // namespace storage_monitor
97 98
98 #endif // COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_CHROMEOS_H_ 99 #endif // COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_CHROMEOS_H_
OLDNEW
« no previous file with comments | « components/storage_monitor/storage_monitor.h ('k') | components/storage_monitor/storage_monitor_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698