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

Side by Side Diff: chromeos/dbus/cros_disks_client.h

Issue 10617004: chromeos: Remove "error_libcros_missing" error from file browser private API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 (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 CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_
6 #define CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ 6 #define CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 }; 41 };
42 42
43 // Mount error code used by cros-disks. 43 // Mount error code used by cros-disks.
44 enum MountError { 44 enum MountError {
45 MOUNT_ERROR_NONE = 0, 45 MOUNT_ERROR_NONE = 0,
46 MOUNT_ERROR_UNKNOWN = 1, 46 MOUNT_ERROR_UNKNOWN = 1,
47 MOUNT_ERROR_INTERNAL = 2, 47 MOUNT_ERROR_INTERNAL = 2,
48 MOUNT_ERROR_UNKNOWN_FILESYSTEM = 101, 48 MOUNT_ERROR_UNKNOWN_FILESYSTEM = 101,
49 MOUNT_ERROR_UNSUPPORTED_FILESYSTEM = 102, 49 MOUNT_ERROR_UNSUPPORTED_FILESYSTEM = 102,
50 MOUNT_ERROR_INVALID_ARCHIVE = 201, 50 MOUNT_ERROR_INVALID_ARCHIVE = 201,
51 MOUNT_ERROR_LIBRARY_NOT_LOADED = 501,
52 MOUNT_ERROR_NOT_AUTHENTICATED = 601, 51 MOUNT_ERROR_NOT_AUTHENTICATED = 601,
53 MOUNT_ERROR_NETWORK_ERROR = 602,
54 MOUNT_ERROR_PATH_UNMOUNTED = 901, 52 MOUNT_ERROR_PATH_UNMOUNTED = 901,
55 // TODO(tbarzic): Add more error codes as they get added to cros-disks and 53 // TODO(tbarzic): Add more error codes as they get added to cros-disks and
56 // consider doing explicit translation from cros-disks error_types. 54 // consider doing explicit translation from cros-disks error_types.
57 }; 55 };
58 56
59 // Event type each corresponding to a signal sent from cros-disks. 57 // Event type each corresponding to a signal sent from cros-disks.
60 enum MountEventType { 58 enum MountEventType {
61 DISK_ADDED, 59 DISK_ADDED,
62 DISK_REMOVED, 60 DISK_REMOVED,
63 DISK_CHANGED, 61 DISK_CHANGED,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Create() should be used instead. 232 // Create() should be used instead.
235 CrosDisksClient(); 233 CrosDisksClient();
236 234
237 private: 235 private:
238 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient); 236 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient);
239 }; 237 };
240 238
241 } // namespace chromeos 239 } // namespace chromeos
242 240
243 #endif // CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ 241 #endif // CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698