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

Side by Side Diff: chrome/browser/google_apis/mock_drive_service.h

Issue 14146006: Refactoring: replace SearchInDirectory by SearchByTitle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 // This file contains mocks for classes in drive_service_interface.h 5 // This file contains mocks for classes in drive_service_interface.h
6 6
7 #ifndef CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_ 7 #ifndef CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_
8 #define CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_ 8 #define CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 27 matching lines...) Expand all
38 OperationProgressStatusList()); 38 OperationProgressStatusList());
39 MOCK_CONST_METHOD0(GetRootResourceId, std::string()); 39 MOCK_CONST_METHOD0(GetRootResourceId, std::string());
40 MOCK_METHOD1(GetAllResourceList, 40 MOCK_METHOD1(GetAllResourceList,
41 void(const GetResourceListCallback& callback)); 41 void(const GetResourceListCallback& callback));
42 MOCK_METHOD2(GetResourceListInDirectory, 42 MOCK_METHOD2(GetResourceListInDirectory,
43 void(const std::string& directory_resource_id, 43 void(const std::string& directory_resource_id,
44 const GetResourceListCallback& callback)); 44 const GetResourceListCallback& callback));
45 MOCK_METHOD2(Search, 45 MOCK_METHOD2(Search,
46 void(const std::string& search_query, 46 void(const std::string& search_query,
47 const GetResourceListCallback& callback)); 47 const GetResourceListCallback& callback));
48 MOCK_METHOD3(SearchInDirectory, 48 MOCK_METHOD3(SearchByTitle,
49 void(const std::string& search_query, 49 void(const std::string& title,
50 const std::string& directory_resource_id, 50 const std::string& directory_resource_id,
51 const GetResourceListCallback& callback)); 51 const GetResourceListCallback& callback));
52 MOCK_METHOD2(GetChangeList, 52 MOCK_METHOD2(GetChangeList,
53 void(int64 start_changestamp, 53 void(int64 start_changestamp,
54 const GetResourceListCallback& callback)); 54 const GetResourceListCallback& callback));
55 MOCK_METHOD2(ContinueGetResourceList, 55 MOCK_METHOD2(ContinueGetResourceList,
56 void(const GURL& override_url, 56 void(const GURL& override_url,
57 const GetResourceListCallback& callback)); 57 const GetResourceListCallback& callback));
58 MOCK_METHOD2(GetResourceEntry, 58 MOCK_METHOD2(GetResourceEntry,
59 void(const std::string& resource_id, 59 void(const std::string& resource_id,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 scoped_ptr<base::Value> document_data_; 206 scoped_ptr<base::Value> document_data_;
207 207
208 // File data to be written to the local temporary file when 208 // File data to be written to the local temporary file when
209 // DownloadFileStub is called. 209 // DownloadFileStub is called.
210 scoped_ptr<std::string> file_data_; 210 scoped_ptr<std::string> file_data_;
211 }; 211 };
212 212
213 } // namespace google_apis 213 } // namespace google_apis
214 214
215 #endif // CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_ 215 #endif // CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698