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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc

Issue 10634020: [FileManager] Do drive search incrementally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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/gdata/gdata_file_system_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
index 31cd651d8f1adf08141b34c9542911fb416b4a54..ada502e64974a07f37bf830803121ad41f572ee6 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
@@ -58,6 +58,7 @@ void DriveSearchCallback(
const SearchResultPair* expected_results,
size_t expected_results_size,
GDataFileError error,
+ const GURL& next_feed,
scoped_ptr<std::vector<SearchResultInfo> > results) {
ASSERT_TRUE(results.get());
ASSERT_EQ(expected_results_size, results->size());
@@ -2451,7 +2452,7 @@ TEST_F(GDataFileSystemTest, ContentSearch) {
SearchCallback callback = base::Bind(&DriveSearchCallback,
&message_loop_, kExpectedResults, ARRAYSIZE_UNSAFE(kExpectedResults));
- file_system_->Search("foo", callback);
+ file_system_->Search("foo", GURL(), callback);
message_loop_.Run(); // Wait to get our result.
}
@@ -2484,7 +2485,7 @@ TEST_F(GDataFileSystemTest, ContentSearchWithNewEntry) {
SearchCallback callback = base::Bind(&DriveSearchCallback,
&message_loop_, kExpectedResults, ARRAYSIZE_UNSAFE(kExpectedResults));
- file_system_->Search("foo", callback);
+ file_system_->Search("foo", GURL(), callback);
message_loop_.Run(); // Wait to get our result.
}
@@ -2501,7 +2502,7 @@ TEST_F(GDataFileSystemTest, ContentSearchEmptyResult) {
SearchCallback callback = base::Bind(&DriveSearchCallback,
&message_loop_, expected_results, 0u);
- file_system_->Search("foo", callback);
+ file_system_->Search("foo", GURL(), callback);
message_loop_.Run(); // Wait to get our result.
}
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system_interface.h ('k') | chrome/browser/chromeos/gdata/gdata_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698