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

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

Issue 1062853004: Remove unused constants and functions from Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 class SnapshotManager; 41 class SnapshotManager;
42 class VolumeManagerObserver; 42 class VolumeManagerObserver;
43 43
44 // Identifiers for volume types managed by Chrome OS file manager. 44 // Identifiers for volume types managed by Chrome OS file manager.
45 enum VolumeType { 45 enum VolumeType {
46 VOLUME_TYPE_TESTING = -1, // Used only in tests. 46 VOLUME_TYPE_TESTING = -1, // Used only in tests.
47 VOLUME_TYPE_GOOGLE_DRIVE = 0, 47 VOLUME_TYPE_GOOGLE_DRIVE = 0,
48 VOLUME_TYPE_DOWNLOADS_DIRECTORY, 48 VOLUME_TYPE_DOWNLOADS_DIRECTORY,
49 VOLUME_TYPE_REMOVABLE_DISK_PARTITION, 49 VOLUME_TYPE_REMOVABLE_DISK_PARTITION,
50 VOLUME_TYPE_MOUNTED_ARCHIVE_FILE, 50 VOLUME_TYPE_MOUNTED_ARCHIVE_FILE,
51 VOLUME_TYPE_CLOUD_DEVICE,
52 VOLUME_TYPE_PROVIDED, // File system provided by the FileSystemProvider API. 51 VOLUME_TYPE_PROVIDED, // File system provided by the FileSystemProvider API.
53 VOLUME_TYPE_MTP, 52 VOLUME_TYPE_MTP,
54 // The enum values must be kept in sync with FileManagerVolumeType in 53 // The enum values must be kept in sync with FileManagerVolumeType in
55 // tools/metrics/histograms/histograms.xml. Since enums for histograms are 54 // tools/metrics/histograms/histograms.xml. Since enums for histograms are
56 // append-only (for keeping the number consistent across versions), new values 55 // append-only (for keeping the number consistent across versions), new values
57 // for this enum also has to be always appended at the end (i.e., here). 56 // for this enum also has to be always appended at the end (i.e., here).
58 NUM_VOLUME_TYPE, 57 NUM_VOLUME_TYPE,
59 }; 58 };
60 59
61 // Says how was the mount performed, whether due to user interaction, or 60 // Says how was the mount performed, whether due to user interaction, or
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 287
289 // Note: This should remain the last member so it'll be destroyed and 288 // Note: This should remain the last member so it'll be destroyed and
290 // invalidate its weak pointers before any other members are destroyed. 289 // invalidate its weak pointers before any other members are destroyed.
291 base::WeakPtrFactory<VolumeManager> weak_ptr_factory_; 290 base::WeakPtrFactory<VolumeManager> weak_ptr_factory_;
292 DISALLOW_COPY_AND_ASSIGN(VolumeManager); 291 DISALLOW_COPY_AND_ASSIGN(VolumeManager);
293 }; 292 };
294 293
295 } // namespace file_manager 294 } // namespace file_manager
296 295
297 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_ 296 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698