| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 namespace chromeos { | 32 namespace chromeos { |
| 33 class PowerManagerClient; | 33 class PowerManagerClient; |
| 34 } // namespace chromeos | 34 } // namespace chromeos |
| 35 | 35 |
| 36 namespace content { | 36 namespace content { |
| 37 class BrowserContext; | 37 class BrowserContext; |
| 38 } // namespace content | 38 } // namespace content |
| 39 | 39 |
| 40 namespace file_manager { | 40 namespace file_manager { |
| 41 | 41 |
| 42 class MountedDiskMonitor; | |
| 43 class SnapshotManager; | 42 class SnapshotManager; |
| 44 class VolumeManagerObserver; | 43 class VolumeManagerObserver; |
| 45 | 44 |
| 46 // Identifiers for volume types managed by Chrome OS file manager. | 45 // Identifiers for volume types managed by Chrome OS file manager. |
| 47 enum VolumeType { | 46 enum VolumeType { |
| 48 VOLUME_TYPE_TESTING = -1, // Used only in tests. | 47 VOLUME_TYPE_TESTING = -1, // Used only in tests. |
| 49 VOLUME_TYPE_GOOGLE_DRIVE = 0, | 48 VOLUME_TYPE_GOOGLE_DRIVE = 0, |
| 50 VOLUME_TYPE_DOWNLOADS_DIRECTORY, | 49 VOLUME_TYPE_DOWNLOADS_DIRECTORY, |
| 51 VOLUME_TYPE_REMOVABLE_DISK_PARTITION, | 50 VOLUME_TYPE_REMOVABLE_DISK_PARTITION, |
| 52 VOLUME_TYPE_MOUNTED_ARCHIVE_FILE, | 51 VOLUME_TYPE_MOUNTED_ARCHIVE_FILE, |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 | 334 |
| 336 // Note: This should remain the last member so it'll be destroyed and | 335 // Note: This should remain the last member so it'll be destroyed and |
| 337 // invalidate its weak pointers before any other members are destroyed. | 336 // invalidate its weak pointers before any other members are destroyed. |
| 338 base::WeakPtrFactory<VolumeManager> weak_ptr_factory_; | 337 base::WeakPtrFactory<VolumeManager> weak_ptr_factory_; |
| 339 DISALLOW_COPY_AND_ASSIGN(VolumeManager); | 338 DISALLOW_COPY_AND_ASSIGN(VolumeManager); |
| 340 }; | 339 }; |
| 341 | 340 |
| 342 } // namespace file_manager | 341 } // namespace file_manager |
| 343 | 342 |
| 344 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ | 343 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ |
| OLD | NEW |