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

Unified Diff: chrome/browser/chromeos/drive/file_system_unittest.cc

Issue 15650008: drive: Rename drive::DriveClientContext to drive::ClientContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system_unittest.cc b/chrome/browser/chromeos/drive/file_system_unittest.cc
index cdbc825d2fe49620774a4c8251d08fc260cb5522..9be4f1b7880baabe0bf4a3c854038615dace3259 100644
--- a/chrome/browser/chromeos/drive/file_system_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system_unittest.cc
@@ -1526,7 +1526,7 @@ TEST_F(FileSystemTest, GetFileByResourceId) {
entry.reset();
file_system_->GetFileByResourceId(
resource_id,
- DriveClientContext(USER_INITIATED),
+ ClientContext(USER_INITIATED),
google_apis::test_util::CreateCopyResultCallback(
&error, &file_path, &entry),
google_apis::GetContentCallback());
@@ -1644,7 +1644,7 @@ TEST_F(FileSystemTest, GetFileByResourceId_FromCache) {
entry.reset();
file_system_->GetFileByResourceId(
resource_id,
- DriveClientContext(USER_INITIATED),
+ ClientContext(USER_INITIATED),
google_apis::test_util::CreateCopyResultCallback(
&error, &file_path, &entry),
google_apis::GetContentCallback());
@@ -1716,7 +1716,7 @@ TEST_F(FileSystemTest, UpdateFileByResourceId_PersistentFile) {
// UpdateFileByResourceId().
file_system_->UpdateFileByResourceId(
kResourceId,
- DriveClientContext(USER_INITIATED),
+ ClientContext(USER_INITIATED),
google_apis::test_util::CreateCopyResultCallback(&error));
google_apis::test_util::RunBlockingPoolTask();
EXPECT_EQ(FILE_ERROR_OK, error);
@@ -1741,7 +1741,7 @@ TEST_F(FileSystemTest, UpdateFileByResourceId_NonexistentFile) {
FileError error = FILE_ERROR_OK;
file_system_->UpdateFileByResourceId(
kResourceId,
- DriveClientContext(USER_INITIATED),
+ ClientContext(USER_INITIATED),
google_apis::test_util::CreateCopyResultCallback(&error));
google_apis::test_util::RunBlockingPoolTask();
EXPECT_EQ(FILE_ERROR_NOT_FOUND, error);

Powered by Google App Engine
This is Rietveld 408576698