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

Side by Side Diff: chrome/browser/chromeos/disks/mock_disk_mount_manager.h

Issue 10231010: gdata: Apply correct mount label when mounting archives in GData (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 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
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 CHROME_BROWSER_CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 virtual ~MockDiskMountManager(); 23 virtual ~MockDiskMountManager();
24 24
25 // DiskMountManager override. 25 // DiskMountManager override.
26 MOCK_METHOD0(Init, void(void)); 26 MOCK_METHOD0(Init, void(void));
27 MOCK_METHOD1(AddObserver, void(DiskMountManager::Observer*)); 27 MOCK_METHOD1(AddObserver, void(DiskMountManager::Observer*));
28 MOCK_METHOD1(RemoveObserver, void(DiskMountManager::Observer*)); 28 MOCK_METHOD1(RemoveObserver, void(DiskMountManager::Observer*));
29 MOCK_CONST_METHOD0(disks, const DiskMountManager::DiskMap&(void)); 29 MOCK_CONST_METHOD0(disks, const DiskMountManager::DiskMap&(void));
30 MOCK_CONST_METHOD0(mount_points, 30 MOCK_CONST_METHOD0(mount_points,
31 const DiskMountManager::MountPointMap&(void)); 31 const DiskMountManager::MountPointMap&(void));
32 MOCK_METHOD0(RequestMountInfoRefresh, void(void)); 32 MOCK_METHOD0(RequestMountInfoRefresh, void(void));
33 MOCK_METHOD3(MountPath, void(const std::string&, const std::string&, 33 MOCK_METHOD4(MountPath, void(const std::string&, const std::string&,
34 MountType)); 34 const std::string&, MountType));
35 MOCK_METHOD1(UnmountPath, void(const std::string&)); 35 MOCK_METHOD1(UnmountPath, void(const std::string&));
36 MOCK_METHOD3(GetSizeStatsOnFileThread, void(const std::string&, size_t*, 36 MOCK_METHOD3(GetSizeStatsOnFileThread, void(const std::string&, size_t*,
37 size_t*)); 37 size_t*));
38 MOCK_METHOD1(FormatUnmountedDevice, void(const std::string&)); 38 MOCK_METHOD1(FormatUnmountedDevice, void(const std::string&));
39 MOCK_METHOD1(FormatMountedDevice, void(const std::string&)); 39 MOCK_METHOD1(FormatMountedDevice, void(const std::string&));
40 MOCK_METHOD3(UnmountDeviceRecursive, void(const std::string&, 40 MOCK_METHOD3(UnmountDeviceRecursive, void(const std::string&,
41 DiskMountManager::UnmountDeviceRecursiveCallbackType, void*)); 41 DiskMountManager::UnmountDeviceRecursiveCallbackType, void*));
42 42
43 // Invokes fake device insert events. 43 // Invokes fake device insert events.
44 void NotifyDeviceInsertEvents(); 44 void NotifyDeviceInsertEvents();
(...skipping 28 matching lines...) Expand all
73 // The list of disks found. 73 // The list of disks found.
74 DiskMountManager::DiskMap disks_; 74 DiskMountManager::DiskMap disks_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(MockDiskMountManager); 76 DISALLOW_COPY_AND_ASSIGN(MockDiskMountManager);
77 }; 77 };
78 78
79 } // namespace disks 79 } // namespace disks
80 } // namespace chromeos 80 } // namespace chromeos
81 81
82 #endif // CHROME_BROWSER_CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_ 82 #endif // CHROME_BROWSER_CHROMEOS_DISKS_MOCK_DISK_MOUNT_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/disks/disk_mount_manager.cc ('k') | chrome/browser/chromeos/disks/mock_disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698