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

Side by Side Diff: chrome/browser/google_apis/dummy_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_DUMMY_DRIVE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_
7 7
8 #include "chrome/browser/google_apis/drive_service_interface.h" 8 #include "chrome/browser/google_apis/drive_service_interface.h"
9 9
10 namespace google_apis { 10 namespace google_apis {
(...skipping 18 matching lines...) Expand all
29 virtual void ClearAccessToken() OVERRIDE; 29 virtual void ClearAccessToken() OVERRIDE;
30 virtual void ClearRefreshToken() OVERRIDE; 30 virtual void ClearRefreshToken() OVERRIDE;
31 virtual std::string GetRootResourceId() const OVERRIDE; 31 virtual std::string GetRootResourceId() const OVERRIDE;
32 virtual void GetResourceList( 32 virtual void GetResourceList(
33 const GURL& url, 33 const GURL& url,
34 int64 start_changestamp, 34 int64 start_changestamp,
35 const std::string& search_query, 35 const std::string& search_query,
36 bool shared_with_me, 36 bool shared_with_me,
37 const std::string& directory_resource_id, 37 const std::string& directory_resource_id,
38 const GetResourceListCallback& callback) OVERRIDE; 38 const GetResourceListCallback& callback) OVERRIDE;
39 virtual void GetAllResourceList(
40 const GetResourceListCallback& callback) OVERRIDE;
41 virtual void GetResourceListInDirectory(
42 const std::string& directory_resource_id,
43 const GetResourceListCallback& callback) OVERRIDE;
44 virtual void Search(
45 const std::string& search_query,
46 const GetResourceListCallback& callback) OVERRIDE;
47 virtual void SearchInDirectory(
48 const std::string& search_query,
49 const std::string& directory_resource_id,
50 const GetResourceListCallback& callback) OVERRIDE;
51 virtual void GetChangeList(
52 int64 start_changestamp,
53 const GetResourceListCallback& callback) OVERRIDE;
54 virtual void ContinueGetResourceList(
55 const GURL& override_url,
56 const GetResourceListCallback& callback) OVERRIDE;
39 virtual void GetResourceEntry( 57 virtual void GetResourceEntry(
40 const std::string& resource_id, 58 const std::string& resource_id,
41 const GetResourceEntryCallback& callback) OVERRIDE; 59 const GetResourceEntryCallback& callback) OVERRIDE;
42 virtual void GetAccountMetadata( 60 virtual void GetAccountMetadata(
43 const GetAccountMetadataCallback& callback) OVERRIDE; 61 const GetAccountMetadataCallback& callback) OVERRIDE;
44 virtual void GetAboutResource( 62 virtual void GetAboutResource(
45 const GetAboutResourceCallback& callback) OVERRIDE; 63 const GetAboutResourceCallback& callback) OVERRIDE;
46 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; 64 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE;
47 virtual void DeleteResource(const std::string& resource_id, 65 virtual void DeleteResource(const std::string& resource_id,
48 const std::string& etag, 66 const std::string& etag,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 int64 content_length, 121 int64 content_length,
104 const UploadRangeCallback& callback) OVERRIDE; 122 const UploadRangeCallback& callback) OVERRIDE;
105 virtual void AuthorizeApp(const std::string& resource_id, 123 virtual void AuthorizeApp(const std::string& resource_id,
106 const std::string& app_id, 124 const std::string& app_id,
107 const AuthorizeAppCallback& callback) OVERRIDE; 125 const AuthorizeAppCallback& callback) OVERRIDE;
108 }; 126 };
109 127
110 } // namespace google_apis 128 } // namespace google_apis
111 129
112 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ 130 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/drive_service_interface.h ('k') | chrome/browser/google_apis/dummy_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698