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

Unified Diff: chrome/browser/chromeos/drive/file_system/search_operation.h

Issue 15737031: Remove drive::file_system::Operations. (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/search_operation.h
diff --git a/chrome/browser/chromeos/drive/file_system/search_operation.h b/chrome/browser/chromeos/drive/file_system/search_operation.h
index b5f05a0e860e6b304c4aaeb4c1f6b50e12c204b2..de644b72c28bbe720e1f9ea1f7e07e5e088c3f5a 100644
--- a/chrome/browser/chromeos/drive/file_system/search_operation.h
+++ b/chrome/browser/chromeos/drive/file_system/search_operation.h
@@ -11,7 +11,7 @@
#include "base/memory/weak_ptr.h"
#include "base/sequenced_task_runner.h"
#include "chrome/browser/chromeos/drive/file_errors.h"
-#include "chrome/browser/chromeos/drive/file_system/operations.h"
+#include "chrome/browser/chromeos/drive/file_system_interface.h"
#include "chrome/browser/google_apis/gdata_errorcode.h"
class GURL;
@@ -47,20 +47,20 @@ class SearchOperation {
// |callback| must not be null.
void Search(const std::string& search_query,
const GURL& next_feed,
- const SearchOperationCallback& callback);
+ const SearchCallback& callback);
private:
// Part of Search(). This is called after the ResourceList is fetched from
// the server.
void SearchAfterGetResourceList(
- const SearchOperationCallback& callback,
+ const SearchCallback& callback,
google_apis::GDataErrorCode gdata_error,
scoped_ptr<google_apis::ResourceList> resource_list);
// Part of Search(). This is called after the RefreshEntryOnBlockingPool
// is completed.
void SearchAfterRefreshEntry(
- const SearchOperationCallback& callback,
+ const SearchCallback& callback,
const GURL& next_feed,
scoped_ptr<std::vector<SearchResultInfo> > result,
FileError error);
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/operations.cc ('k') | chrome/browser/chromeos/drive/file_system/search_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698