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

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

Issue 12447019: Eliminate CopyResultsFromGetResourceEntryCallback. (Closed) Base URL: http://git.chromium.org/chromium/src.git@b180569_create_copy_result_callback
Patch Set: Rebase Created 7 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_scheduler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_file_system_unittest.cc
diff --git a/chrome/browser/chromeos/drive/drive_file_system_unittest.cc b/chrome/browser/chromeos/drive/drive_file_system_unittest.cc
index 836f8d77bf7a39ed4b45c71db42eb20a750616cd..9ea65f2cdb327458bf12b47aa053c7f180b1b047 100644
--- a/chrome/browser/chromeos/drive/drive_file_system_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_file_system_unittest.cc
@@ -1986,10 +1986,8 @@ TEST_F(DriveFileSystemTest, ContentSearchWithNewEntry) {
fake_drive_service_->AddNewDirectory(
fake_drive_service_->GetRootResourceId(), // Add to the root directory.
"New Directory 1!",
- base::Bind(
- &google_apis::test_util::CopyResultsFromGetResourceEntryCallback,
- &error,
- &resource_entry));
+ google_apis::test_util::CreateCopyResultCallback(
+ &error, &resource_entry));
message_loop_.RunUntilIdle();
// As the result of the first Search(), only entries in the current file
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698