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

Unified Diff: chrome/browser/google_apis/drive_api_service.cc

Issue 14341002: Implement query translation from GData WAPI to Drive API v2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refine query parsing. Created 7 years, 8 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/google_apis/drive_api_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/drive_api_service.cc
diff --git a/chrome/browser/google_apis/drive_api_service.cc b/chrome/browser/google_apis/drive_api_service.cc
index 6112532ae904292bc85956c675a4d4c9c1f6c2fe..01383b1b99b4d420e53ced6e9d72cf0456971e17 100644
--- a/chrome/browser/google_apis/drive_api_service.cc
+++ b/chrome/browser/google_apis/drive_api_service.cc
@@ -9,7 +9,6 @@
#include "base/bind.h"
#include "base/message_loop_proxy.h"
-#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/task_runner_util.h"
#include "base/threading/sequenced_worker_pool.h"
@@ -336,7 +335,7 @@ void DriveAPIService::Search(const std::string& search_query,
operation_registry(),
url_request_context_getter_,
url_generator_,
- search_query,
+ drive::util::TranslateQuery(search_query),
base::Bind(&ParseResourceListOnBlockingPoolAndRun, callback)));
}
« no previous file with comments | « no previous file | chrome/browser/google_apis/drive_api_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698