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

Issue 23684003: Introduce FastShowPickler which will be used for app list cold start. (Closed)

Created:
7 years, 3 months ago by koz (OOO until 15th September)
Modified:
7 years, 3 months ago
Reviewers:
xiyuan, benwells
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, tapted
Visibility:
Public.

Description

Introduce FastShowPickler which will be used for app list cold start. This class will be responsible for serializing a copy of AppListModel to populate a dummy AppListView that is shown immediately on startup if --show-app-list is used. BUG=178260 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224699

Patch Set 1 #

Total comments: 7

Patch Set 2 : respond to comments #

Total comments: 17

Patch Set 3 : respond to comments #

Total comments: 2

Patch Set 4 : use run_all_unittests #

Patch Set 5 : fix typo #

Patch Set 6 : rebase #

Patch Set 7 : rebase 2 #

Patch Set 8 : fix compile #

Patch Set 9 : exclude pickler test when enable_app_list=0 #

Patch Set 10 : move test target to chrome_tests_unit.gypi #

Patch Set 11 : IWYU #

Patch Set 12 : Pickle type needs to be complete #

Unified diffs Side-by-side diffs Delta from patch set Stats (+466 lines, -0 lines) Patch
A chrome/browser/ui/app_list/fast_show_pickler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/fast_show_pickler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +259 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc View 1 2 3 4 5 6 7 1 chunk +142 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
koz (OOO until 15th September)
benwells: for general review xiyuan: do you mind checking my use of SkBitmap, gfx::ImageSkia and ...
7 years, 3 months ago (2013-08-28 08:19:54 UTC) #1
xiyuan
https://codereview.chromium.org/23684003/diff/1/chrome/browser/ui/app_list/fast_show_pickler.cc File chrome/browser/ui/app_list/fast_show_pickler.cc (right): https://codereview.chromium.org/23684003/diff/1/chrome/browser/ui/app_list/fast_show_pickler.cc#newcode41 chrome/browser/ui/app_list/fast_show_pickler.cc:41: if (!it->ReadBytes(&pixels, size)) Can we ReadBytes into SkBitmap's pixel ...
7 years, 3 months ago (2013-08-28 17:00:39 UTC) #2
koz (OOO until 15th September)
Thanks, Xiyuan! https://codereview.chromium.org/23684003/diff/1/chrome/browser/ui/app_list/fast_show_pickler.cc File chrome/browser/ui/app_list/fast_show_pickler.cc (right): https://codereview.chromium.org/23684003/diff/1/chrome/browser/ui/app_list/fast_show_pickler.cc#newcode41 chrome/browser/ui/app_list/fast_show_pickler.cc:41: if (!it->ReadBytes(&pixels, size)) On 2013/08/28 17:00:39, xiyuan ...
7 years, 3 months ago (2013-08-29 03:19:01 UTC) #3
benwells
https://codereview.chromium.org/23684003/diff/6001/chrome/browser/ui/app_list/fast_show_pickler.cc File chrome/browser/ui/app_list/fast_show_pickler.cc (right): https://codereview.chromium.org/23684003/diff/6001/chrome/browser/ui/app_list/fast_show_pickler.cc#newcode6 chrome/browser/ui/app_list/fast_show_pickler.cc:6: Nit: extra blank line. https://codereview.chromium.org/23684003/diff/6001/chrome/browser/ui/app_list/fast_show_pickler.cc#newcode166 chrome/browser/ui/app_list/fast_show_pickler.cc:166: gfx::ImageSkia icon = ...
7 years, 3 months ago (2013-08-29 04:49:28 UTC) #4
xiyuan
https://codereview.chromium.org/23684003/diff/1/chrome/browser/ui/app_list/fast_show_pickler.cc File chrome/browser/ui/app_list/fast_show_pickler.cc (right): https://codereview.chromium.org/23684003/diff/1/chrome/browser/ui/app_list/fast_show_pickler.cc#newcode41 chrome/browser/ui/app_list/fast_show_pickler.cc:41: if (!it->ReadBytes(&pixels, size)) On 2013/08/29 03:19:01, koz wrote: > ...
7 years, 3 months ago (2013-08-29 16:52:11 UTC) #5
koz (OOO until 15th September)
https://codereview.chromium.org/23684003/diff/6001/chrome/browser/ui/app_list/fast_show_pickler.cc File chrome/browser/ui/app_list/fast_show_pickler.cc (right): https://codereview.chromium.org/23684003/diff/6001/chrome/browser/ui/app_list/fast_show_pickler.cc#newcode6 chrome/browser/ui/app_list/fast_show_pickler.cc:6: On 2013/08/29 04:49:28, benwells wrote: > Nit: extra blank ...
7 years, 3 months ago (2013-08-30 00:44:50 UTC) #6
tapted
https://codereview.chromium.org/23684003/diff/16001/chrome/chrome_browser_ui.gypi File chrome/chrome_browser_ui.gypi (right): https://codereview.chromium.org/23684003/diff/16001/chrome/chrome_browser_ui.gypi#newcode3132 chrome/chrome_browser_ui.gypi:3132: 'browser/ui/app_list/chrome_app_list_unit_tests.cc', Drive-by: should this go in a test subfolder. ...
7 years, 3 months ago (2013-08-30 01:13:34 UTC) #7
koz (OOO until 15th September)
https://codereview.chromium.org/23684003/diff/16001/chrome/chrome_browser_ui.gypi File chrome/chrome_browser_ui.gypi (right): https://codereview.chromium.org/23684003/diff/16001/chrome/chrome_browser_ui.gypi#newcode3132 chrome/chrome_browser_ui.gypi:3132: 'browser/ui/app_list/chrome_app_list_unit_tests.cc', On 2013/08/30 01:13:35, tapted wrote: > Drive-by: should ...
7 years, 3 months ago (2013-08-30 05:54:23 UTC) #8
benwells
lgtm
7 years, 3 months ago (2013-08-30 07:53:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/20001
7 years, 3 months ago (2013-09-13 20:19:54 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-13 20:37:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/28001
7 years, 3 months ago (2013-09-18 01:48:51 UTC) #12
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, content_unittests, crypto_unittests, net_unittests, sql_unittests, ...
7 years, 3 months ago (2013-09-18 02:10:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/26001
7 years, 3 months ago (2013-09-18 07:55:12 UTC) #14
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=81279
7 years, 3 months ago (2013-09-18 08:27:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/94001
7 years, 3 months ago (2013-09-19 01:06:41 UTC) #16
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, content_unittests, crypto_unittests, net_unittests, sql_unittests, ...
7 years, 3 months ago (2013-09-19 01:31:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/121001
7 years, 3 months ago (2013-09-20 09:22:32 UTC) #18
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=81103
7 years, 3 months ago (2013-09-20 11:27:22 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/121001
7 years, 3 months ago (2013-09-20 20:06:19 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-20 22:25:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/138001
7 years, 3 months ago (2013-09-23 00:48:20 UTC) #22
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-23 01:00:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/156001
7 years, 3 months ago (2013-09-23 01:48:31 UTC) #24
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=81697
7 years, 3 months ago (2013-09-23 04:29:25 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/23684003/156001
7 years, 3 months ago (2013-09-23 04:34:14 UTC) #26
commit-bot: I haz the power
7 years, 3 months ago (2013-09-23 09:36:25 UTC) #27
Message was sent while issue was closed.
Change committed as 224699

Powered by Google App Engine
This is Rietveld 408576698