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

Side by Side Diff: chrome/browser/drive/gdata_wapi_service.h

Issue 18506002: drive/syncFS: Switch to ID based download URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 5 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual google_apis::CancelCallback GetAboutResource( 89 virtual google_apis::CancelCallback GetAboutResource(
90 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; 90 const google_apis::GetAboutResourceCallback& callback) OVERRIDE;
91 virtual google_apis::CancelCallback GetAppList( 91 virtual google_apis::CancelCallback GetAppList(
92 const google_apis::GetAppListCallback& callback) OVERRIDE; 92 const google_apis::GetAppListCallback& callback) OVERRIDE;
93 virtual google_apis::CancelCallback DeleteResource( 93 virtual google_apis::CancelCallback DeleteResource(
94 const std::string& resource_id, 94 const std::string& resource_id,
95 const std::string& etag, 95 const std::string& etag,
96 const google_apis::EntryActionCallback& callback) OVERRIDE; 96 const google_apis::EntryActionCallback& callback) OVERRIDE;
97 virtual google_apis::CancelCallback DownloadFile( 97 virtual google_apis::CancelCallback DownloadFile(
98 const base::FilePath& local_cache_path, 98 const base::FilePath& local_cache_path,
99 const GURL& download_url, 99 const std::string& resource_id,
100 const google_apis::DownloadActionCallback& download_action_callback, 100 const google_apis::DownloadActionCallback& download_action_callback,
101 const google_apis::GetContentCallback& get_content_callback, 101 const google_apis::GetContentCallback& get_content_callback,
102 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 102 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
103 virtual google_apis::CancelCallback CopyResource( 103 virtual google_apis::CancelCallback CopyResource(
104 const std::string& resource_id, 104 const std::string& resource_id,
105 const std::string& parent_resource_id, 105 const std::string& parent_resource_id,
106 const std::string& new_name, 106 const std::string& new_name,
107 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 107 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
108 virtual google_apis::CancelCallback CopyHostedDocument( 108 virtual google_apis::CancelCallback CopyHostedDocument(
109 const std::string& resource_id, 109 const std::string& resource_id,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // reference, as they may outlive this object. 171 // reference, as they may outlive this object.
172 const google_apis::GDataWapiUrlGenerator url_generator_; 172 const google_apis::GDataWapiUrlGenerator url_generator_;
173 const std::string custom_user_agent_; 173 const std::string custom_user_agent_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); 175 DISALLOW_COPY_AND_ASSIGN(GDataWapiService);
176 }; 176 };
177 177
178 } // namespace drive 178 } // namespace drive
179 179
180 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 180 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698