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

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: Address review comments. 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
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..9b64b1259df24bf6fd50fd9d15b1dd7a66d20beb 100644
--- a/chrome/browser/google_apis/drive_api_service.cc
+++ b/chrome/browser/google_apis/drive_api_service.cc
@@ -9,10 +9,12 @@
#include "base/bind.h"
#include "base/message_loop_proxy.h"
+#include "base/string16.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/task_runner_util.h"
#include "base/threading/sequenced_worker_pool.h"
+#include "base/utf_string_conversions.h"
hashimoto 2013/04/18 10:37:16 nit: No need to include this?
hidehiko 2013/04/18 12:05:54 Done.
#include "base/values.h"
#include "chrome/browser/google_apis/auth_service.h"
#include "chrome/browser/google_apis/drive_api_operations.h"
@@ -336,7 +338,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') | chrome/browser/google_apis/drive_api_util_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698