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_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "chrome/browser/chromeos/dbus/cros_disks_client.h" | 11 #include "chromeos/dbus/cros_disks_client.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 namespace disks { | 14 namespace disks { |
15 | 15 |
16 // Types of events DiskMountManager sends to its observers. | 16 // Types of events DiskMountManager sends to its observers. |
17 enum DiskMountManagerEventType { | 17 enum DiskMountManagerEventType { |
18 MOUNT_DISK_ADDED, | 18 MOUNT_DISK_ADDED, |
19 MOUNT_DISK_REMOVED, | 19 MOUNT_DISK_REMOVED, |
20 MOUNT_DISK_CHANGED, | 20 MOUNT_DISK_CHANGED, |
21 MOUNT_DISK_MOUNTED, | 21 MOUNT_DISK_MOUNTED, |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 | 250 |
251 // Returns a pointer to the global DiskMountManager instance. | 251 // Returns a pointer to the global DiskMountManager instance. |
252 // Initialize() should already have been called. | 252 // Initialize() should already have been called. |
253 static DiskMountManager* GetInstance(); | 253 static DiskMountManager* GetInstance(); |
254 }; | 254 }; |
255 | 255 |
256 } // namespace disks | 256 } // namespace disks |
257 } // namespace chromeos | 257 } // namespace chromeos |
258 | 258 |
259 #endif // CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ | 259 #endif // CHROME_BROWSER_CHROMEOS_DISKS_DISK_MOUNT_MANAGER_H_ |
OLD | NEW |