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

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

Issue 13602003: Add new methods to DriveServiceInterface. These will replace GetResourceList. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webkit_master
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
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_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/google_apis/drive_service_interface.h" 10 #include "chrome/browser/google_apis/drive_service_interface.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void ClearRefreshToken() OVERRIDE; 89 virtual void ClearRefreshToken() OVERRIDE;
90 // See the comment for EntryMatchWidthQuery() in .cc file for details about 90 // See the comment for EntryMatchWidthQuery() in .cc file for details about
91 // the supported search query types. 91 // the supported search query types.
92 virtual void GetResourceList( 92 virtual void GetResourceList(
93 const GURL& url, 93 const GURL& url,
94 int64 start_changestamp, 94 int64 start_changestamp,
95 const std::string& search_query, 95 const std::string& search_query,
96 bool shared_with_me, 96 bool shared_with_me,
97 const std::string& directory_resource_id, 97 const std::string& directory_resource_id,
98 const GetResourceListCallback& callback) OVERRIDE; 98 const GetResourceListCallback& callback) OVERRIDE;
99 virtual void GetAllResourceList(
100 const GetResourceListCallback& callback) OVERRIDE;
101 virtual void GetResourceListInDirectory(
102 const std::string& directory_resource_id,
103 const GetResourceListCallback& callback) OVERRIDE;
104 virtual void Search(
105 const std::string& search_query,
106 const GetResourceListCallback& callback) OVERRIDE;
107 virtual void SearchInDirectory(
108 const std::string& search_query,
109 const std::string& directory_resource_id,
110 const GetResourceListCallback& callback) OVERRIDE;
111 virtual void GetChangeList(
112 int64 start_changestamp,
113 const GetResourceListCallback& callback) OVERRIDE;
114 virtual void ContinueGetResourceList(
115 const GURL& override_url,
116 const GetResourceListCallback& callback) OVERRIDE;
99 virtual void GetResourceEntry( 117 virtual void GetResourceEntry(
100 const std::string& resource_id, 118 const std::string& resource_id,
101 const GetResourceEntryCallback& callback) OVERRIDE; 119 const GetResourceEntryCallback& callback) OVERRIDE;
102 virtual void GetAccountMetadata( 120 virtual void GetAccountMetadata(
103 const GetAccountMetadataCallback& callback) OVERRIDE; 121 const GetAccountMetadataCallback& callback) OVERRIDE;
104 virtual void GetAboutResource( 122 virtual void GetAboutResource(
105 const GetAboutResourceCallback& callback) OVERRIDE; 123 const GetAboutResourceCallback& callback) OVERRIDE;
106 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; 124 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE;
107 virtual void DeleteResource(const std::string& resource_id, 125 virtual void DeleteResource(const std::string& resource_id,
108 const std::string& etag, 126 const std::string& etag,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 int about_resource_load_count_; 228 int about_resource_load_count_;
211 bool offline_; 229 bool offline_;
212 base::FilePath last_cancelled_file_; 230 base::FilePath last_cancelled_file_;
213 231
214 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); 232 DISALLOW_COPY_AND_ASSIGN(FakeDriveService);
215 }; 233 };
216 234
217 } // namespace google_apis 235 } // namespace google_apis
218 236
219 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ 237 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/dummy_drive_service.cc ('k') | chrome/browser/google_apis/fake_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698