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

Side by Side Diff: chrome/browser/chromeos/cros/mock_mount_library.h

Issue 7826037: Adding support to retrieve remaining and total space on disk/file shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a Created 9 years, 3 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 | « no previous file | chrome/browser/chromeos/cros/mount_library.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CROS_MOCK_MOUNT_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 14 matching lines...) Expand all
25 MOCK_METHOD0(Init, void(void)); 25 MOCK_METHOD0(Init, void(void));
26 MOCK_METHOD1(AddObserver, void(MountLibrary::Observer*)); 26 MOCK_METHOD1(AddObserver, void(MountLibrary::Observer*));
27 MOCK_METHOD1(RemoveObserver, void(MountLibrary::Observer*)); 27 MOCK_METHOD1(RemoveObserver, void(MountLibrary::Observer*));
28 MOCK_CONST_METHOD0(disks, const MountLibrary::DiskMap&(void)); 28 MOCK_CONST_METHOD0(disks, const MountLibrary::DiskMap&(void));
29 MOCK_CONST_METHOD0(mount_points, const MountLibrary::MountPointMap&(void)); 29 MOCK_CONST_METHOD0(mount_points, const MountLibrary::MountPointMap&(void));
30 30
31 MOCK_METHOD0(RequestMountInfoRefresh, void(void)); 31 MOCK_METHOD0(RequestMountInfoRefresh, void(void));
32 MOCK_METHOD3(MountPath, void(const char*, MountType, 32 MOCK_METHOD3(MountPath, void(const char*, MountType,
33 const MountPathOptions&)); 33 const MountPathOptions&));
34 MOCK_METHOD1(UnmountPath, void(const char*)); 34 MOCK_METHOD1(UnmountPath, void(const char*));
35 MOCK_METHOD3(GetSizeStatsOnFileThread, void(const char*, size_t*, size_t*));
35 MOCK_METHOD1(FormatUnmountedDevice, void(const char*)); 36 MOCK_METHOD1(FormatUnmountedDevice, void(const char*));
36 MOCK_METHOD1(FormatMountedDevice, void(const char*)); 37 MOCK_METHOD1(FormatMountedDevice, void(const char*));
37 MOCK_METHOD3(UnmountDeviceRecursive, void(const char*, 38 MOCK_METHOD3(UnmountDeviceRecursive, void(const char*,
38 MountLibrary::UnmountDeviceRecursiveCallbackType, void*)); 39 MountLibrary::UnmountDeviceRecursiveCallbackType, void*));
39 40
40 void FireDeviceInsertEvents(); 41 void FireDeviceInsertEvents();
41 void FireDeviceRemoveEvents(); 42 void FireDeviceRemoveEvents();
42 43
43 void SetupDefaultReplies(); 44 void SetupDefaultReplies();
44 45
(...skipping 12 matching lines...) Expand all
57 58
58 // The list of disks found. 59 // The list of disks found.
59 MountLibrary::DiskMap disks_; 60 MountLibrary::DiskMap disks_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(MockMountLibrary); 62 DISALLOW_COPY_AND_ASSIGN(MockMountLibrary);
62 }; 63 };
63 64
64 } // namespace chromeos 65 } // namespace chromeos
65 66
66 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_ 67 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/mount_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698