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

Issue 9310079: Moved app shortcut code out of ExtensionService. (Closed)

Created:
8 years, 10 months ago by benwells
Modified:
8 years, 10 months ago
CC:
chromium-reviews, mihaip+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Moved app shortcut code out of ExtensionService. This code now lives in its own unit and is triggered by NOTIFICATION_EXTENSION_INSTALLED. The code to disable shortcut creation in browser tests has also been cleaned up. BUG=112247 TEST=Manually tested shortcut creation Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121138

Patch Set 1 #

Patch Set 2 : Removed unneeded includes #

Total comments: 9

Patch Set 3 : Updated for comments #

Patch Set 4 : Fixed stupid virtual ommission #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -99 lines) Patch
A chrome/browser/extensions/app_shortcut_manager.h View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/extensions/app_shortcut_manager.cc View 1 2 1 chunk +95 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 6 chunks +5 lines, -17 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 5 chunks +1 line, -64 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
benwells
8 years, 10 months ago (2012-02-03 04:01:45 UTC) #1
koz (OOO until 15th September)
lgtm http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (left): http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_service.cc#oldcode2257 chrome/browser/extensions/extension_service.cc:2257: // TODO(benwells): Remove before launching platform apps. It ...
8 years, 10 months ago (2012-02-03 04:16:37 UTC) #2
benwells
http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (left): http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_service.cc#oldcode2257 chrome/browser/extensions/extension_service.cc:2257: // TODO(benwells): Remove before launching platform apps. On 2012/02/03 ...
8 years, 10 months ago (2012-02-03 04:37:38 UTC) #3
Aaron Boodman
http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_browsertest.cc File chrome/browser/extensions/extension_browsertest.cc (right): http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_browsertest.cc#newcode265 chrome/browser/extensions/extension_browsertest.cc:265: service->app_shortcut_manager()->set_disable_shortcut_creation(true); A better chokepoint might be ExtensionBrowserTest's constructor (and ...
8 years, 10 months ago (2012-02-05 05:45:27 UTC) #4
Aaron Boodman
Thanks for fixing this btw!
8 years, 10 months ago (2012-02-05 05:45:43 UTC) #5
benwells
http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_browsertest.cc File chrome/browser/extensions/extension_browsertest.cc (right): http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_browsertest.cc#newcode265 chrome/browser/extensions/extension_browsertest.cc:265: service->app_shortcut_manager()->set_disable_shortcut_creation(true); On 2012/02/05 05:45:27, Aaron Boodman wrote: > A ...
8 years, 10 months ago (2012-02-06 05:01:48 UTC) #6
Aaron Boodman
On Mon, Feb 6, 2012 at 12:01 AM, <benwells@chromium.org> wrote: > > http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/extension_browsertest.cc > File ...
8 years, 10 months ago (2012-02-06 06:46:53 UTC) #7
Mihai Parparita -not on Chrome
http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/app_shortcut_manager.cc File chrome/browser/extensions/app_shortcut_manager.cc (right): http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/app_shortcut_manager.cc#newcode40 chrome/browser/extensions/app_shortcut_manager.cc:40: DCHECK(type == chrome::NOTIFICATION_EXTENSION_INSTALLED); We may want this for when ...
8 years, 10 months ago (2012-02-06 22:35:53 UTC) #8
benwells
http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/app_shortcut_manager.cc File chrome/browser/extensions/app_shortcut_manager.cc (right): http://codereview.chromium.org/9310079/diff/2001/chrome/browser/extensions/app_shortcut_manager.cc#newcode40 chrome/browser/extensions/app_shortcut_manager.cc:40: DCHECK(type == chrome::NOTIFICATION_EXTENSION_INSTALLED); On 2012/02/06 22:35:53, Mihai Parparita wrote: ...
8 years, 10 months ago (2012-02-07 06:57:01 UTC) #9
Aaron Boodman
excellent. lgtm.
8 years, 10 months ago (2012-02-08 00:40:14 UTC) #10
Mihai Parparita -not on Chrome
LGTM
8 years, 10 months ago (2012-02-08 02:18:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9310079/11001
8 years, 10 months ago (2012-02-08 02:19:38 UTC) #12
commit-bot: I haz the power
Try job failure for 9310079-11001 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 10 months ago (2012-02-08 03:06:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9310079/22002
8 years, 10 months ago (2012-02-08 05:00:51 UTC) #14
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 10 months ago (2012-02-08 07:22:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9310079/22002
8 years, 10 months ago (2012-02-08 07:47:20 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 10 months ago (2012-02-08 08:52:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9310079/22002
8 years, 10 months ago (2012-02-08 16:45:50 UTC) #18
commit-bot: I haz the power
Try job failure for 9310079-22002 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 10 months ago (2012-02-08 17:18:24 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9310079/22002
8 years, 10 months ago (2012-02-08 22:17:58 UTC) #20
commit-bot: I haz the power
8 years, 10 months ago (2012-02-09 01:49:39 UTC) #21
Change committed as 121138

Powered by Google App Engine
This is Rietveld 408576698