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

Side by Side Diff: chrome/browser/chromeos/drive/mock_file_system.h

Issue 15650008: drive: Rename drive::DriveClientContext to drive::ClientContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/drive/file_system_interface.h" 10 #include "chrome/browser/chromeos/drive/file_system_interface.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 MOCK_METHOD2(Pin, void(const base::FilePath& file_path, 74 MOCK_METHOD2(Pin, void(const base::FilePath& file_path,
75 const FileOperationCallback& callback)); 75 const FileOperationCallback& callback));
76 MOCK_METHOD2(Unpin, void(const base::FilePath& file_path, 76 MOCK_METHOD2(Unpin, void(const base::FilePath& file_path,
77 const FileOperationCallback& callback)); 77 const FileOperationCallback& callback));
78 MOCK_METHOD2(GetFileByPath, 78 MOCK_METHOD2(GetFileByPath,
79 void(const base::FilePath& file_path, 79 void(const base::FilePath& file_path,
80 const GetFileCallback& callback)); 80 const GetFileCallback& callback));
81 MOCK_METHOD4( 81 MOCK_METHOD4(
82 GetFileByResourceId, 82 GetFileByResourceId,
83 void(const std::string& resource_id, 83 void(const std::string& resource_id,
84 const DriveClientContext& context, 84 const ClientContext& context,
85 const GetFileCallback& get_file_callback, 85 const GetFileCallback& get_file_callback,
86 const google_apis::GetContentCallback& get_content_callback)); 86 const google_apis::GetContentCallback& get_content_callback));
87 MOCK_METHOD4( 87 MOCK_METHOD4(
88 GetFileContentByPath, 88 GetFileContentByPath,
89 void(const base::FilePath& file_path, 89 void(const base::FilePath& file_path,
90 const GetFileContentInitializedCallback& initialized_callback, 90 const GetFileContentInitializedCallback& initialized_callback,
91 const google_apis::GetContentCallback& get_content_callback, 91 const google_apis::GetContentCallback& get_content_callback,
92 const FileOperationCallback& completion_callback)); 92 const FileOperationCallback& completion_callback));
93 MOCK_METHOD3(UpdateFileByResourceId, 93 MOCK_METHOD3(UpdateFileByResourceId,
94 void(const std::string& resource_id, 94 void(const std::string& resource_id,
95 const DriveClientContext& context, 95 const ClientContext& context,
96 const FileOperationCallback& callback)); 96 const FileOperationCallback& callback));
97 MOCK_METHOD2(GetResourceEntryByPath, 97 MOCK_METHOD2(GetResourceEntryByPath,
98 void(const base::FilePath& file_path, 98 void(const base::FilePath& file_path,
99 const GetResourceEntryCallback& callback)); 99 const GetResourceEntryCallback& callback));
100 MOCK_METHOD2(ReadDirectoryByPath, 100 MOCK_METHOD2(ReadDirectoryByPath,
101 void(const base::FilePath& file_path, 101 void(const base::FilePath& file_path,
102 const ReadDirectoryWithSettingCallback& callback)); 102 const ReadDirectoryWithSettingCallback& callback));
103 MOCK_METHOD2(RefreshDirectory, 103 MOCK_METHOD2(RefreshDirectory,
104 void(const base::FilePath& file_path, 104 void(const base::FilePath& file_path,
105 const FileOperationCallback& callback)); 105 const FileOperationCallback& callback));
(...skipping 10 matching lines...) Expand all
116 MOCK_METHOD3(GetCacheEntryByResourceId, 116 MOCK_METHOD3(GetCacheEntryByResourceId,
117 void(const std::string& resource_id, 117 void(const std::string& resource_id,
118 const std::string& md5, 118 const std::string& md5,
119 const GetCacheEntryCallback& callback)); 119 const GetCacheEntryCallback& callback));
120 MOCK_METHOD0(Reload, void()); 120 MOCK_METHOD0(Reload, void());
121 }; 121 };
122 122
123 } // namespace drive 123 } // namespace drive
124 124
125 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_ 125 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/job_scheduler_unittest.cc ('k') | chrome/browser/chromeos/drive/sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698