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

Side by Side Diff: components/storage_monitor/media_storage_util.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 // MediaStorageUtil provides information about storage devices attached 5 // MediaStorageUtil provides information about storage devices attached
6 // to the computer. 6 // to the computer.
7 7
8 #ifndef COMPONENTS_STORAGE_MONITOR_MEDIA_STORAGE_UTIL_H_ 8 #ifndef COMPONENTS_STORAGE_MONITOR_MEDIA_STORAGE_UTIL_H_
9 #define COMPONENTS_STORAGE_MONITOR_MEDIA_STORAGE_UTIL_H_ 9 #define COMPONENTS_STORAGE_MONITOR_MEDIA_STORAGE_UTIL_H_
10 10
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/basictypes.h"
15 #include "base/callback_forward.h" 14 #include "base/callback_forward.h"
16 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/macros.h"
17 17
18 namespace storage_monitor { 18 namespace storage_monitor {
19 19
20 class StorageInfo; 20 class StorageInfo;
21 21
22 class MediaStorageUtil { 22 class MediaStorageUtil {
23 public: 23 public:
24 typedef std::set<std::string /*device id*/> DeviceIdSet; 24 typedef std::set<std::string /*device id*/> DeviceIdSet;
25 25
26 // Check if the file system at the passed mount point looks like a media 26 // Check if the file system at the passed mount point looks like a media
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // currently attached. 61 // currently attached.
62 static bool IsRemovableStorageAttached(const std::string& id); 62 static bool IsRemovableStorageAttached(const std::string& id);
63 63
64 private: 64 private:
65 DISALLOW_IMPLICIT_CONSTRUCTORS(MediaStorageUtil); 65 DISALLOW_IMPLICIT_CONSTRUCTORS(MediaStorageUtil);
66 }; 66 };
67 67
68 } // namespace storage_monitor 68 } // namespace storage_monitor
69 69
70 #endif // COMPONENTS_STORAGE_MONITOR_MEDIA_STORAGE_UTIL_H_ 70 #endif // COMPONENTS_STORAGE_MONITOR_MEDIA_STORAGE_UTIL_H_
OLDNEW
« no previous file with comments | « components/startup_metric_utils/browser/startup_metric_utils.cc ('k') | components/storage_monitor/media_storage_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698