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

Issue 15342003: app_list: Add web store search. (Closed)

Created:
7 years, 7 months ago by xiyuan
Modified:
7 years, 7 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, Aaron Boodman, tfarina, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

app_list: Add web store search. - Split SafeJsonParser out of WebstoreDataFetcher to share the code; - Add a WebstoreSearchFetcher to retrieve results from web store server; - Add a WebstoreResultIconSource that fetches icon when painted on screen; - Add a WebStoreProvider that generates WebstoreResult for results fetched from server or a placeholder "Search in webstore" result; BUG=173430 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201422

Patch Set 1 #

Total comments: 29

Patch Set 2 : for comments in #1 #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : rebase and address nits in #3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1148 lines, -120 lines) Patch
M chrome/browser/extensions/webstore_data_fetcher.h View 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/extensions/webstore_data_fetcher.cc View 4 chunks +19 lines, -107 lines 0 comments Download
A chrome/browser/safe_json_parser.h View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/browser/safe_json_parser.cc View 1 2 3 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/search_controller.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
A chrome/browser/ui/app_list/search/search_webstore_result.h View 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/search_webstore_result.cc View 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_provider.h View 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_provider.cc View 1 1 chunk +120 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_provider_browsertest.cc View 1 chunk +181 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_result.h View 1 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_result.cc View 1 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_result_icon_source.h View 1 1 chunk +79 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_result_icon_source.cc View 1 chunk +110 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_search_fetcher.h View 1 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/search/webstore_search_fetcher.cc View 1 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
xiyuan
James, please do the main review. Antony could focus on extensions/* changes. Thanks.
7 years, 7 months ago (2013-05-17 22:08:27 UTC) #1
James Cook
On 2013/05/17 22:08:27, xiyuan wrote: > James, please do the main review. > Antony could ...
7 years, 7 months ago (2013-05-17 22:21:51 UTC) #2
xiyuan
On 2013/05/17 22:21:51, James Cook (Chromium) wrote: > On 2013/05/17 22:08:27, xiyuan wrote: > > ...
7 years, 7 months ago (2013-05-17 22:24:26 UTC) #3
koz (OOO until 15th September)
drive by https://codereview.chromium.org/15342003/diff/1/chrome/browser/ui/app_list/search/webstore_provider.cc File chrome/browser/ui/app_list/search/webstore_provider.cc (right): https://codereview.chromium.org/15342003/diff/1/chrome/browser/ui/app_list/search/webstore_provider.cc#newcode47 chrome/browser/ui/app_list/search/webstore_provider.cc:47: Add(scoped_ptr<ChromeSearchResult>( I think this would be clearer ...
7 years, 7 months ago (2013-05-20 01:14:16 UTC) #4
James Cook
Overall looks good. Some comments. https://codereview.chromium.org/15342003/diff/1/chrome/browser/safe_json_parser.cc File chrome/browser/safe_json_parser.cc (right): https://codereview.chromium.org/15342003/diff/1/chrome/browser/safe_json_parser.cc#newcode24 chrome/browser/safe_json_parser.cc:24: CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); Could the thread ...
7 years, 7 months ago (2013-05-20 14:39:33 UTC) #5
xiyuan
https://codereview.chromium.org/15342003/diff/1/chrome/browser/safe_json_parser.cc File chrome/browser/safe_json_parser.cc (right): https://codereview.chromium.org/15342003/diff/1/chrome/browser/safe_json_parser.cc#newcode24 chrome/browser/safe_json_parser.cc:24: CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); On 2013/05/20 14:39:34, James Cook (Chromium) wrote: > ...
7 years, 7 months ago (2013-05-20 16:56:30 UTC) #6
James Cook
LGTM. Nice patch.
7 years, 7 months ago (2013-05-20 18:47:09 UTC) #7
xiyuan
asargent@/koz@, could one of you review and bless the change? Thanks.
7 years, 7 months ago (2013-05-21 01:26:07 UTC) #8
koz (OOO until 15th September)
extensions/* lgtm
7 years, 7 months ago (2013-05-21 01:36:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/15342003/25001
7 years, 7 months ago (2013-05-21 04:31:56 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=3890
7 years, 7 months ago (2013-05-21 04:41:14 UTC) #11
xiyuan
+sky for owners for chrome/browser/safe_json_parser.cc chrome/browser/safe_json_parser.h The code is split from extensions/webstore_data_fetcher.cc to be shared ...
7 years, 7 months ago (2013-05-21 04:57:49 UTC) #12
sky
chrome/common is if you need to access from both renderer and browser. That doesn't appear ...
7 years, 7 months ago (2013-05-21 14:57:00 UTC) #13
xiyuan
https://codereview.chromium.org/15342003/diff/25001/chrome/browser/safe_json_parser.cc File chrome/browser/safe_json_parser.cc (right): https://codereview.chromium.org/15342003/diff/25001/chrome/browser/safe_json_parser.cc#newcode21 chrome/browser/safe_json_parser.cc:21: SafeJsonParser::~SafeJsonParser() {} On 2013/05/21 14:57:00, sky wrote: > nit: ...
7 years, 7 months ago (2013-05-21 16:23:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/15342003/38001
7 years, 7 months ago (2013-05-21 16:32:39 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=151570
7 years, 7 months ago (2013-05-21 19:04:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/15342003/38001
7 years, 7 months ago (2013-05-21 22:24:07 UTC) #17
commit-bot: I haz the power
7 years, 7 months ago (2013-05-22 01:53:08 UTC) #18
Message was sent while issue was closed.
Change committed as 201422

Powered by Google App Engine
This is Rietveld 408576698