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

Side by Side Diff: chrome/browser/google_apis/drive_api_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
« no previous file with comments | « no previous file | chrome/browser/google_apis/drive_api_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DRIVE_API_SERVICE_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void ClearAccessToken() OVERRIDE; 65 virtual void ClearAccessToken() OVERRIDE;
66 virtual void ClearRefreshToken() OVERRIDE; 66 virtual void ClearRefreshToken() OVERRIDE;
67 virtual std::string GetRootResourceId() const OVERRIDE; 67 virtual std::string GetRootResourceId() const OVERRIDE;
68 virtual void GetResourceList( 68 virtual void GetResourceList(
69 const GURL& url, 69 const GURL& url,
70 int64 start_changestamp, 70 int64 start_changestamp,
71 const std::string& search_query, 71 const std::string& search_query,
72 bool shared_with_me, 72 bool shared_with_me,
73 const std::string& directory_resource_id, 73 const std::string& directory_resource_id,
74 const GetResourceListCallback& callback) OVERRIDE; 74 const GetResourceListCallback& callback) OVERRIDE;
75 virtual void GetAllResourceList(
76 const GetResourceListCallback& callback) OVERRIDE;
77 virtual void GetResourceListInDirectory(
78 const std::string& directory_resource_id,
79 const GetResourceListCallback& callback) OVERRIDE;
80 virtual void Search(
81 const std::string& search_query,
82 const GetResourceListCallback& callback) OVERRIDE;
83 virtual void SearchInDirectory(
84 const std::string& search_query,
85 const std::string& directory_resource_id,
86 const GetResourceListCallback& callback) OVERRIDE;
87 virtual void GetChangeList(
88 int64 start_changestamp,
89 const GetResourceListCallback& callback) OVERRIDE;
90 virtual void ContinueGetResourceList(
91 const GURL& override_url,
92 const GetResourceListCallback& callback) OVERRIDE;
75 virtual void GetResourceEntry( 93 virtual void GetResourceEntry(
76 const std::string& resource_id, 94 const std::string& resource_id,
77 const GetResourceEntryCallback& callback) OVERRIDE; 95 const GetResourceEntryCallback& callback) OVERRIDE;
78
79 virtual void GetAccountMetadata( 96 virtual void GetAccountMetadata(
80 const GetAccountMetadataCallback& callback) OVERRIDE; 97 const GetAccountMetadataCallback& callback) OVERRIDE;
81 virtual void GetAboutResource( 98 virtual void GetAboutResource(
82 const GetAboutResourceCallback& callback) OVERRIDE; 99 const GetAboutResourceCallback& callback) OVERRIDE;
83 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; 100 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE;
84 virtual void DeleteResource( 101 virtual void DeleteResource(
85 const std::string& resource_id, 102 const std::string& resource_id,
86 const std::string& etag, 103 const std::string& etag,
87 const EntryActionCallback& callback) OVERRIDE; 104 const EntryActionCallback& callback) OVERRIDE;
88 virtual void DownloadFile( 105 virtual void DownloadFile(
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 DriveApiUrlGenerator url_generator_; 199 DriveApiUrlGenerator url_generator_;
183 GDataWapiUrlGenerator wapi_url_generator_; 200 GDataWapiUrlGenerator wapi_url_generator_;
184 const std::string custom_user_agent_; 201 const std::string custom_user_agent_;
185 202
186 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); 203 DISALLOW_COPY_AND_ASSIGN(DriveAPIService);
187 }; 204 };
188 205
189 } // namespace google_apis 206 } // namespace google_apis
190 207
191 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ 208 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/google_apis/drive_api_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698