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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/files/file.h" | 13 #include "base/files/file.h" |
15 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/macros.h" |
16 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "base/prefs/pref_change_registrar.h" | 20 #include "base/prefs/pref_change_registrar.h" |
21 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 21 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
22 #include "chrome/browser/chromeos/file_system_provider/observer.h" | 22 #include "chrome/browser/chromeos/file_system_provider/observer.h" |
23 #include "chrome/browser/chromeos/file_system_provider/service.h" | 23 #include "chrome/browser/chromeos/file_system_provider/service.h" |
24 #include "chromeos/dbus/cros_disks_client.h" | 24 #include "chromeos/dbus/cros_disks_client.h" |
25 #include "chromeos/disks/disk_mount_manager.h" | 25 #include "chromeos/disks/disk_mount_manager.h" |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 | 315 |
316 // Note: This should remain the last member so it'll be destroyed and | 316 // Note: This should remain the last member so it'll be destroyed and |
317 // invalidate its weak pointers before any other members are destroyed. | 317 // invalidate its weak pointers before any other members are destroyed. |
318 base::WeakPtrFactory<VolumeManager> weak_ptr_factory_; | 318 base::WeakPtrFactory<VolumeManager> weak_ptr_factory_; |
319 DISALLOW_COPY_AND_ASSIGN(VolumeManager); | 319 DISALLOW_COPY_AND_ASSIGN(VolumeManager); |
320 }; | 320 }; |
321 | 321 |
322 } // namespace file_manager | 322 } // namespace file_manager |
323 | 323 |
324 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ | 324 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ |
OLD | NEW |