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

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

Issue 11530004: google_apis: DriveServiceInterface::GetResourceEntry() returns ResourceEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 24 matching lines...) Expand all
35 OperationProgressStatusList()); 35 OperationProgressStatusList());
36 MOCK_METHOD6(GetResourceList, 36 MOCK_METHOD6(GetResourceList,
37 void(const GURL& feed_url, 37 void(const GURL& feed_url,
38 int64 start_changestamp, 38 int64 start_changestamp,
39 const std::string& search_string, 39 const std::string& search_string,
40 bool shared_with_me, 40 bool shared_with_me,
41 const std::string& directory_resource_id, 41 const std::string& directory_resource_id,
42 const GetResourceListCallback& callback)); 42 const GetResourceListCallback& callback));
43 MOCK_METHOD2(GetResourceEntry, 43 MOCK_METHOD2(GetResourceEntry,
44 void(const std::string& resource_id, 44 void(const std::string& resource_id,
45 const GetDataCallback& callback)); 45 const GetResourceEntryCallback& callback));
46 MOCK_METHOD1(GetAccountMetadata, 46 MOCK_METHOD1(GetAccountMetadata,
47 void(const GetDataCallback& callback)); 47 void(const GetDataCallback& callback));
48 MOCK_METHOD1(GetApplicationInfo, 48 MOCK_METHOD1(GetApplicationInfo,
49 void(const GetDataCallback& callback)); 49 void(const GetDataCallback& callback));
50 MOCK_METHOD2(DeleteResource, 50 MOCK_METHOD2(DeleteResource,
51 void(const GURL& edit_url, 51 void(const GURL& edit_url,
52 const EntryActionCallback& callback)); 52 const EntryActionCallback& callback));
53 MOCK_METHOD5(DownloadHostedDocument, 53 MOCK_METHOD5(DownloadHostedDocument,
54 void(const FilePath& virtual_path, 54 void(const FilePath& virtual_path,
55 const FilePath& local_cache_path, 55 const FilePath& local_cache_path,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 scoped_ptr<base::Value> search_result_; 201 scoped_ptr<base::Value> search_result_;
202 202
203 // File data to be written to the local temporary file when 203 // File data to be written to the local temporary file when
204 // DownloadHostedDocumentStub is called. 204 // DownloadHostedDocumentStub is called.
205 scoped_ptr<std::string> file_data_; 205 scoped_ptr<std::string> file_data_;
206 }; 206 };
207 207
208 } // namespace google_apis 208 } // namespace google_apis
209 209
210 #endif // CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_ 210 #endif // CHROME_BROWSER_GOOGLE_APIS_MOCK_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.cc ('k') | chrome/browser/sync_file_system/drive_file_sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698