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

Unified Diff: chrome/browser/chromeos/drive/file_system/operations.h

Issue 16190003: drive: Add DownloadOperation::EnsureFileDownloadedByResourceId (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/file_system/operations.h
diff --git a/chrome/browser/chromeos/drive/file_system/operations.h b/chrome/browser/chromeos/drive/file_system/operations.h
index d0fa3fa9566ba0471e85962a8e4dc37cb578156c..a6ce52f53cb2b440c4f3cd3b57bde422a05abdaf 100644
--- a/chrome/browser/chromeos/drive/file_system/operations.h
+++ b/chrome/browser/chromeos/drive/file_system/operations.h
@@ -122,7 +122,16 @@ class Operations {
// Wrapper function for download_operation_.
// |completion_callback| must not be null.
- void EnsureFileDownloaded(
+ void EnsureFileDownloadedByResourceId(
+ const std::string& resource_id,
+ const ClientContext& context,
+ const GetFileContentInitializedCallback& initialized_callback,
+ const google_apis::GetContentCallback& get_content_callback,
+ const GetFileCallback& completion_callback);
+
+ // Wrapper function for download_operation_.
+ // |completion_callback| must not be null.
+ void EnsureFileDownloadedByPath(
const base::FilePath& file_path,
const ClientContext& context,
const GetFileContentInitializedCallback& initialized_callback,

Powered by Google App Engine
This is Rietveld 408576698