OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_STORAGE_MONITOR_STORAGE_INFO_H_ | 5 #ifndef CHROME_BROWSER_STORAGE_MONITOR_STORAGE_INFO_H_ |
6 #define CHROME_BROWSER_STORAGE_MONITOR_STORAGE_INFO_H_ | 6 #define CHROME_BROWSER_STORAGE_MONITOR_STORAGE_INFO_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/string16.h" | 9 #include "base/strings/string16.h" |
10 | 10 |
11 namespace chrome { | 11 namespace chrome { |
12 | 12 |
13 struct StorageInfo { | 13 struct StorageInfo { |
14 public: | 14 public: |
15 enum Type { | 15 enum Type { |
16 // A removable mass storage device with a DCIM directory. | 16 // A removable mass storage device with a DCIM directory. |
17 REMOVABLE_MASS_STORAGE_WITH_DCIM, | 17 REMOVABLE_MASS_STORAGE_WITH_DCIM, |
18 // A removable mass storage device without a DCIM directory. | 18 // A removable mass storage device without a DCIM directory. |
19 REMOVABLE_MASS_STORAGE_NO_DCIM, | 19 REMOVABLE_MASS_STORAGE_NO_DCIM, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 string16 model_name_; | 106 string16 model_name_; |
107 | 107 |
108 // Size of the removable device in bytes. | 108 // Size of the removable device in bytes. |
109 // Zero if not collected or unknown. | 109 // Zero if not collected or unknown. |
110 uint64 total_size_in_bytes_; | 110 uint64 total_size_in_bytes_; |
111 }; | 111 }; |
112 | 112 |
113 } // namespace chrome | 113 } // namespace chrome |
114 | 114 |
115 #endif // CHROME_BROWSER_STORAGE_MONITOR_STORAGE_INFO_H_ | 115 #endif // CHROME_BROWSER_STORAGE_MONITOR_STORAGE_INFO_H_ |
OLD | NEW |