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

Unified Diff: chrome/browser/chromeos/drive/file_system.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.cc
diff --git a/chrome/browser/chromeos/drive/file_system.cc b/chrome/browser/chromeos/drive/file_system.cc
index 19467fee172fcfea32ce268362a436b30660bed9..95e78921ba970ef9d941c1103c595a2ec13afe4d 100644
--- a/chrome/browser/chromeos/drive/file_system.cc
+++ b/chrome/browser/chromeos/drive/file_system.cc
@@ -383,7 +383,7 @@ void FileSystem::GetFileByPath(const base::FilePath& file_path,
operations_.EnsureFileDownloaded(
file_path,
- DriveClientContext(USER_INITIATED),
+ ClientContext(USER_INITIATED),
GetFileContentInitializedCallback(),
google_apis::GetContentCallback(),
callback);
@@ -391,7 +391,7 @@ void FileSystem::GetFileByPath(const base::FilePath& file_path,
void FileSystem::GetFileByResourceId(
const std::string& resource_id,
- const DriveClientContext& context,
+ const ClientContext& context,
const GetFileCallback& get_file_callback,
const google_apis::GetContentCallback& get_content_callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -408,7 +408,7 @@ void FileSystem::GetFileByResourceId(
}
void FileSystem::GetFileByResourceIdAfterGetEntry(
- const DriveClientContext& context,
+ const ClientContext& context,
const GetFileCallback& get_file_callback,
const google_apis::GetContentCallback& get_content_callback,
FileError error,
@@ -443,7 +443,7 @@ void FileSystem::GetFileContentByPath(
operations_.EnsureFileDownloaded(
file_path,
- DriveClientContext(USER_INITIATED),
+ ClientContext(USER_INITIATED),
initialized_callback,
get_content_callback,
base::Bind(&GetFileCallbackToFileOperationCallbackAdapter,
@@ -670,7 +670,7 @@ void FileSystem::RefreshDirectoryAfterGetResourceEntry(
void FileSystem::UpdateFileByResourceId(
const std::string& resource_id,
- const DriveClientContext& context,
+ const ClientContext& context,
const FileOperationCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(!callback.is_null());
@@ -890,7 +890,7 @@ void FileSystem::OpenFile(const base::FilePath& file_path,
operations_.EnsureFileDownloaded(
file_path,
- DriveClientContext(USER_INITIATED),
+ ClientContext(USER_INITIATED),
GetFileContentInitializedCallback(),
google_apis::GetContentCallback(),
base::Bind(&FileSystem::OpenFileAfterFileDownloaded,
« no previous file with comments | « chrome/browser/chromeos/drive/file_system.h ('k') | chrome/browser/chromeos/drive/file_system/create_file_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698