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

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

Issue 281063002: Add EnumerateMountEntries method in CrosDisksClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused decl. Created 6 years, 7 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
« no previous file with comments | « chromeos/dbus/cros_disks_client.cc ('k') | chromeos/dbus/fake_cros_disks_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROMEOS_DBUS_FAKE_CROS_DISKS_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_CROS_DISKS_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_CROS_DISKS_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_CROS_DISKS_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 15 matching lines...) Expand all
26 const std::string& mount_label, 26 const std::string& mount_label,
27 const base::Closure& callback, 27 const base::Closure& callback,
28 const base::Closure& error_callback) OVERRIDE; 28 const base::Closure& error_callback) OVERRIDE;
29 virtual void Unmount(const std::string& device_path, 29 virtual void Unmount(const std::string& device_path,
30 UnmountOptions options, 30 UnmountOptions options,
31 const base::Closure& callback, 31 const base::Closure& callback,
32 const base::Closure& error_callback) OVERRIDE; 32 const base::Closure& error_callback) OVERRIDE;
33 virtual void EnumerateAutoMountableDevices( 33 virtual void EnumerateAutoMountableDevices(
34 const EnumerateAutoMountableDevicesCallback& callback, 34 const EnumerateAutoMountableDevicesCallback& callback,
35 const base::Closure& error_callback) OVERRIDE; 35 const base::Closure& error_callback) OVERRIDE;
36 virtual void EnumerateMountEntries(
37 const EnumerateMountEntriesCallback& callback,
38 const base::Closure& error_callback) OVERRIDE;
36 virtual void Format(const std::string& device_path, 39 virtual void Format(const std::string& device_path,
37 const std::string& filesystem, 40 const std::string& filesystem,
38 const base::Closure& callback, 41 const base::Closure& callback,
39 const base::Closure& error_callback) OVERRIDE; 42 const base::Closure& error_callback) OVERRIDE;
40 virtual void GetDeviceProperties( 43 virtual void GetDeviceProperties(
41 const std::string& device_path, 44 const std::string& device_path,
42 const GetDevicePropertiesCallback& callback, 45 const GetDevicePropertiesCallback& callback,
43 const base::Closure& error_callback) OVERRIDE; 46 const base::Closure& error_callback) OVERRIDE;
44 virtual void SetMountEventHandler( 47 virtual void SetMountEventHandler(
45 const MountEventHandler& mount_event_handler) OVERRIDE; 48 const MountEventHandler& mount_event_handler) OVERRIDE;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 base::Closure unmount_listener_; 120 base::Closure unmount_listener_;
118 int format_call_count_; 121 int format_call_count_;
119 std::string last_format_device_path_; 122 std::string last_format_device_path_;
120 std::string last_format_filesystem_; 123 std::string last_format_filesystem_;
121 bool format_success_; 124 bool format_success_;
122 }; 125 };
123 126
124 } // namespace chromeos 127 } // namespace chromeos
125 128
126 #endif // CHROMEOS_DBUS_FAKE_CROS_DISKS_CLIENT_H_ 129 #endif // CHROMEOS_DBUS_FAKE_CROS_DISKS_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/cros_disks_client.cc ('k') | chromeos/dbus/fake_cros_disks_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698