Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: chrome/browser/chromeos/file_manager/volume_manager.h

Issue 120533006: Stub for Privet file system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string>
9 #include <vector>
10
8 #include "base/basictypes.h" 11 #include "base/basictypes.h"
9 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
10 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
11 #include "base/observer_list.h" 14 #include "base/observer_list.h"
12 #include "base/prefs/pref_change_registrar.h" 15 #include "base/prefs/pref_change_registrar.h"
13 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 16 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
17 #include "chromeos/dbus/cros_disks_client.h"
14 #include "chromeos/disks/disk_mount_manager.h" 18 #include "chromeos/disks/disk_mount_manager.h"
15 #include "chromeos/dbus/cros_disks_client.h"
16 #include "components/browser_context_keyed_service/browser_context_keyed_service .h" 19 #include "components/browser_context_keyed_service/browser_context_keyed_service .h"
17 20
18 class Profile; 21 class Profile;
19 22
20 namespace chromeos { 23 namespace chromeos {
21 class PowerManagerClient; 24 class PowerManagerClient;
22 } // namespace chromeos 25 } // namespace chromeos
23 26
24 namespace content { 27 namespace content {
25 class BrowserContext; 28 class BrowserContext;
26 } // namespace content 29 } // namespace content
27 30
28 namespace drive { 31 namespace drive {
29 class DriveIntegrationService; 32 class DriveIntegrationService;
30 } // namespace drive 33 } // namespace drive
31 34
32 namespace file_manager { 35 namespace file_manager {
33 36
34 class MountedDiskMonitor; 37 class MountedDiskMonitor;
35 class VolumeManagerObserver; 38 class VolumeManagerObserver;
36 39
37 // This manager manages "Drive" and "Downloads" in addition to disks managed 40 // This manager manages "Drive" and "Downloads" in addition to disks managed
38 // by DiskMountManager. 41 // by DiskMountManager.
39 enum VolumeType { 42 enum VolumeType {
40 VOLUME_TYPE_GOOGLE_DRIVE, 43 VOLUME_TYPE_GOOGLE_DRIVE,
41 VOLUME_TYPE_DOWNLOADS_DIRECTORY, 44 VOLUME_TYPE_DOWNLOADS_DIRECTORY,
42 VOLUME_TYPE_REMOVABLE_DISK_PARTITION, 45 VOLUME_TYPE_REMOVABLE_DISK_PARTITION,
43 VOLUME_TYPE_MOUNTED_ARCHIVE_FILE, 46 VOLUME_TYPE_MOUNTED_ARCHIVE_FILE,
47 VOLUME_TYPE_CLOUD_DEVICE
44 }; 48 };
45 49
46 struct VolumeInfo { 50 struct VolumeInfo {
47 VolumeInfo(); 51 VolumeInfo();
48 ~VolumeInfo(); 52 ~VolumeInfo();
49 53
50 // The ID of the volume. 54 // The ID of the volume.
51 std::string volume_id; 55 std::string volume_id;
52 56
53 // The type of mounted volume. 57 // The type of mounted volume.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 chromeos::disks::DiskMountManager* disk_mount_manager_; 159 chromeos::disks::DiskMountManager* disk_mount_manager_;
156 scoped_ptr<MountedDiskMonitor> mounted_disk_monitor_; 160 scoped_ptr<MountedDiskMonitor> mounted_disk_monitor_;
157 PrefChangeRegistrar pref_change_registrar_; 161 PrefChangeRegistrar pref_change_registrar_;
158 ObserverList<VolumeManagerObserver> observers_; 162 ObserverList<VolumeManagerObserver> observers_;
159 DISALLOW_COPY_AND_ASSIGN(VolumeManager); 163 DISALLOW_COPY_AND_ASSIGN(VolumeManager);
160 }; 164 };
161 165
162 } // namespace file_manager 166 } // namespace file_manager
163 167
164 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ 168 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698