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

Unified Diff: chrome/browser/ui/app_list/search/common/json_response_fetcher.cc

Issue 23874015: Implement people search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/ui/app_list/search/common/json_response_fetcher.cc
diff --git a/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc b/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc
index 4588e4ef20c92d6498b3a7dc94a52bb67d0fe93e..967e0d6b49719ac13d7661daa3656fb2542fefc0 100644
--- a/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc
+++ b/chrome/browser/ui/app_list/search/common/json_response_fetcher.cc
@@ -72,11 +72,11 @@ void JSONResponseFetcher::OnURLFetchComplete(
return;
}
- std::string webstore_json_data;
- fetcher->GetResponseAsString(&webstore_json_data);
+ std::string json_data;
+ fetcher->GetResponseAsString(&json_data);
scoped_refptr<SafeJsonParser> parser =
- new SafeJsonParser(webstore_json_data,
+ new SafeJsonParser(json_data,
base::Bind(
&JSONResponseFetcher::OnJsonParseSuccess,
weak_factory_.GetWeakPtr()),

Powered by Google App Engine
This is Rietveld 408576698