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

Issue 11644077: Put extension enable logic into a ExtensionEnableFlow. (Closed)

Created:
8 years ago by xiyuan
Modified:
7 years, 11 months ago
Reviewers:
benwells, sky, Evan Stade
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, Aaron Boodman, pedrosimonetti+watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Put extension enable logic into a ExtensionEnableFlow. Extract the code from AppLauncherHandler into a ExtensionEnableFlow so that it can be reused by app list and launcher bar. BUG=157996 TEST=No change. Wait until app list/launcher code changes land to test. R=estade@chromium.org,benwells@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175483

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase + address comments in #1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -61 lines) Patch
A chrome/browser/ui/extensions/extension_enable_flow.h View 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/ui/extensions/extension_enable_flow.cc View 1 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/browser/ui/extensions/extension_enable_flow_delegate.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.h View 1 6 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 6 chunks +15 lines, -50 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
xiyuan
Moving extension enable logic from AppLauncherHandler into a ExtensionEnableFlow class so that we can share ...
8 years ago (2012-12-21 18:33:29 UTC) #1
sky
I'm not a good reviewer for this stuff. Maybe estade and aa?
8 years ago (2012-12-21 18:39:58 UTC) #2
xiyuan
estade@, could you help with the review? Thanks.
8 years ago (2012-12-21 18:43:31 UTC) #3
Evan Stade
webui LGTM modulo my one comment, but please get someone on the extensions team to ...
8 years ago (2012-12-21 22:45:26 UTC) #4
xiyuan
https://codereview.chromium.org/11644077/diff/1/chrome/browser/ui/webui/ntp/app_launcher_handler.cc File chrome/browser/ui/webui/ntp/app_launcher_handler.cc (right): https://codereview.chromium.org/11644077/diff/1/chrome/browser/ui/webui/ntp/app_launcher_handler.cc#newcode830 chrome/browser/ui/webui/ntp/app_launcher_handler.cc:830: extension_id_prompting_ = extension_id; On 2012/12/21 22:45:26, Evan Stade wrote: ...
8 years ago (2012-12-22 00:35:43 UTC) #5
xiyuan
Ben, could you also review the CL? The CL is mostly moving the existing extension ...
8 years ago (2012-12-22 00:38:36 UTC) #6
Evan Stade
https://codereview.chromium.org/11644077/diff/1/chrome/browser/ui/webui/ntp/app_launcher_handler.cc File chrome/browser/ui/webui/ntp/app_launcher_handler.cc (right): https://codereview.chromium.org/11644077/diff/1/chrome/browser/ui/webui/ntp/app_launcher_handler.cc#newcode830 chrome/browser/ui/webui/ntp/app_launcher_handler.cc:830: extension_id_prompting_ = extension_id; On 2012/12/22 00:35:43, xiyuan wrote: > ...
7 years, 11 months ago (2013-01-02 21:55:38 UTC) #7
benwells
lgtm, with one question. if we'll only ever have one enable prompt open at a ...
7 years, 11 months ago (2013-01-03 00:30:17 UTC) #8
xiyuan
https://codereview.chromium.org/11644077/diff/1/chrome/browser/ui/extensions/extension_enable_flow_delegate.h File chrome/browser/ui/extensions/extension_enable_flow_delegate.h (right): https://codereview.chromium.org/11644077/diff/1/chrome/browser/ui/extensions/extension_enable_flow_delegate.h#newcode21 chrome/browser/ui/extensions/extension_enable_flow_delegate.h:21: virtual void ExtensionEnableFlowAborted(ExtensionEnableFlow* flow, On 2013/01/03 00:30:17, benwells wrote: ...
7 years, 11 months ago (2013-01-07 18:13:11 UTC) #9
xiyuan
sky, I've got estade and benwells reviewed the CL. Could you do an owner's stamp? ...
7 years, 11 months ago (2013-01-07 21:12:02 UTC) #10
sky
LGTM
7 years, 11 months ago (2013-01-07 22:01:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/11644077/13001
7 years, 11 months ago (2013-01-07 23:28:24 UTC) #12
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 03:19:31 UTC) #13
Message was sent while issue was closed.
Change committed as 175483

Powered by Google App Engine
This is Rietveld 408576698