| 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 // chrome::MediaStorageUtil provides information about storage devices attached | 5 // chrome::MediaStorageUtil provides information about storage devices attached |
| 6 // to the computer. | 6 // to the computer. |
| 7 | 7 |
| 8 #ifndef CHROME_BROWSER_MEDIA_GALLERY_MEDIA_STORAGE_UTIL_H_ | 8 #ifndef CHROME_BROWSER_SYSTEM_MONITOR_MEDIA_STORAGE_UTIL_H_ |
| 9 #define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_STORAGE_UTIL_H_ | 9 #define CHROME_BROWSER_SYSTEM_MONITOR_MEDIA_STORAGE_UTIL_H_ |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 | 16 |
| 17 namespace chrome { | 17 namespace chrome { |
| 18 | 18 |
| 19 class MediaStorageUtil { | 19 class MediaStorageUtil { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 static void GetDeviceInfoFromPathImpl(const FilePath& path, | 84 static void GetDeviceInfoFromPathImpl(const FilePath& path, |
| 85 std::string* device_id, | 85 std::string* device_id, |
| 86 string16* device_name, | 86 string16* device_name, |
| 87 FilePath* relative_path); | 87 FilePath* relative_path); |
| 88 | 88 |
| 89 DISALLOW_COPY_AND_ASSIGN(MediaStorageUtil); | 89 DISALLOW_COPY_AND_ASSIGN(MediaStorageUtil); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace chrome | 92 } // namespace chrome |
| 93 | 93 |
| 94 #endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_STORAGE_UTIL_H_ | 94 #endif // CHROME_BROWSER_SYSTEM_MONITOR_MEDIA_STORAGE_UTIL_H_ |
| OLD | NEW |