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

Unified Diff: chrome/browser/chromeos/drive/file_system/download_operation.cc

Issue 15650008: drive: Rename drive::DriveClientContext to drive::ClientContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/download_operation.cc
diff --git a/chrome/browser/chromeos/drive/file_system/download_operation.cc b/chrome/browser/chromeos/drive/file_system/download_operation.cc
index 20122ef13ef11a0a6b5d3e18bd4921bac055627b..6f6d7d8a27ee7a0f28a9c56e1e6ff9383f8b105a 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation.cc
@@ -238,14 +238,14 @@ class DownloadOperation::DownloadCallback {
};
struct DownloadOperation::DownloadParams {
- DownloadParams(const DriveClientContext& context,
+ DownloadParams(const ClientContext& context,
const GURL& download_url)
: context(context),
download_url(download_url),
entry(new ResourceEntry) {
}
- DriveClientContext context;
+ ClientContext context;
GURL download_url;
scoped_ptr<ResourceEntry> entry;
base::FilePath drive_file_path;
@@ -271,7 +271,7 @@ DownloadOperation::~DownloadOperation() {
void DownloadOperation::EnsureFileDownloaded(
const base::FilePath& file_path,
- DriveClientContext context,
+ const ClientContext& context,
const GetFileContentInitializedCallback& initialized_callback,
const google_apis::GetContentCallback& get_content_callback,
const GetFileCallback& completion_callback) {
@@ -303,7 +303,7 @@ void DownloadOperation::EnsureFileDownloaded(
void DownloadOperation::EnsureFileDownloadedAfterCheckPreCondition(
const base::FilePath& file_path,
- DriveClientContext context,
+ const ClientContext& context,
const DownloadCallback& callback,
scoped_ptr<ResourceEntry> entry,
base::FilePath* cache_file_path,
@@ -345,7 +345,7 @@ void DownloadOperation::EnsureFileDownloadedAfterCheckPreCondition(
}
void DownloadOperation::EnsureFileDownloadedAfterGetResourceEntry(
- DriveClientContext context,
+ const ClientContext& context,
const DownloadCallback& callback,
google_apis::GDataErrorCode gdata_error,
scoped_ptr<google_apis::ResourceEntry> resource_entry) {
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/download_operation.h ('k') | chrome/browser/chromeos/drive/file_system/operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698