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

Issue 11054006: Make application shortcuts point to app_host.exe, install App Host during app installation. (Closed)

Created:
8 years, 2 months ago by huangs
Modified:
8 years, 1 month ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, grt+watch_chromium.org, gab, miket_OOO
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Make application shortcuts point to app_host.exe, install App Host during app installation. Platform apps need app_host.exe. 2 parts to this change are: (A) App shortcut now call "app_host.exe" instead of "chrome.exe". (B) On platform app install, check the presence of app_host.exe. If it's absent, call quick-enable-application-host to install app_host.exe. Wait for completion, then proceeding to install app. (B) should be executed in the FILE thread. However, some installation tasks may need to wait until quick-enable-application-host finishes (had CRX and unpacked app install in mind, but that's no longer the case). To avoid blocking the UI thread, we: - Create AppHostInstaller class, implementing EnsureAppHostInstalled(). - When (in AppShortcutManager::Observe) we want to ensure App Host is installed, we call the routine and specify a callback runction that takes a bool |success| flag. - AppHostInstaller handles the complexities of switching threads, checking presence of app_host.exe, grabs quick-enable-application-host command, calling it, listening to completion, and then notifies the caller via the callback. BUG=138319 TEST=install, then install an app. Verify App Host installed. Right-click on an app in NTP, create shortcut. Verify shortcut points to app_host.exe TBR=brettw Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166640

Patch Set 1 #

Total comments: 40

Patch Set 2 : Moving quick-enable-app-host feature; adding App Host install code for unpacked extension installer. #

Total comments: 20

Patch Set 3 : Rearranged code for unpacked_installer.cc; moved App Host code from chrome_launch_support to app_ho… #

Total comments: 58

Patch Set 4 : Changed AppHostInstaller interface; handled thread compilcation in AppHostInstaller; added error me… #

Total comments: 33

Patch Set 5 : Extracting app_host_installer_impl_win.*; proposing simplified flow to switch between threads for A… #

Total comments: 16

Patch Set 6 : Making AppHostInstallerImpl() manage its own destruction. #

Total comments: 16

Patch Set 7 : Changing code entry from class to function. #

Total comments: 26

Patch Set 8 : Refactoring AppHostInstallerImpl: checking for is_platform_app() before flow; entry now done by sta… #

Total comments: 26

Patch Set 9 : Fixing comments. #

Total comments: 11

Patch Set 10 : Synched; comments and #include fixes. #

Patch Set 11 : Updating dependency, since code is Windows-specific. #

Patch Set 12 : Fixing crashing ExtensionServiceTest.LoadExtensionsWithPlugins unit test, caused by usage of const … #

Total comments: 18

Patch Set 13 : Stylistic changes: typedef and function renames. #

Total comments: 9

Patch Set 14 : Now installing App Host in AppShortcutManager, instead of CrxInstaller / UnpackedInstaller. #

Total comments: 8

Patch Set 15 : Refactoring; moving App Host install errors to logs. #

Total comments: 4

Patch Set 16 : Adding app_host_installer_win.*; using WeakPtrFactory in AppShortcutManager. #

Total comments: 12

Patch Set 17 : Fixing headers. #

Total comments: 4

Patch Set 18 : Updating dependencies; fixing Linux build breaks. #

Patch Set 19 : Updating dependencies; fixing Linux build breaks. #

Patch Set 20 : Giving AppShortcutManager explicit out-of-line destructor to make linux_clang happy. #

Patch Set 21 : Also need virtual (but without OVERRIDE). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -31 lines) Patch
A chrome/browser/extensions/app_host_installer_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/extensions/app_host_installer_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +200 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_shortcut_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_shortcut_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +31 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/installer/launcher_support/chrome_launcher_support.h View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/installer/launcher_support/chrome_launcher_support.cc View 1 2 3 4 7 chunks +62 lines, -24 lines 0 comments Download

Messages

Total messages: 75 (0 generated)
huangs
This is a work in progress. Currently the code does not work due to Error ...
8 years, 2 months ago (2012-10-02 22:57:47 UTC) #1
erikwright (departed)
Sam, is that error because you are building using ninja, and thus don't have manifests ...
8 years, 2 months ago (2012-10-02 23:22:07 UTC) #2
huangs
Yes, that appears to be the case.
8 years, 2 months ago (2012-10-03 04:36:52 UTC) #3
benwells
I know you said work in progress, but here is some early feedback. https://codereview.chromium.org/11054006/diff/1/chrome/browser/extensions/app_host_installer_win.cc File ...
8 years, 2 months ago (2012-10-03 05:08:43 UTC) #4
erikwright (departed)
http://codereview.chromium.org/11054006/diff/1/chrome/browser/extensions/app_host_installer_win.cc File chrome/browser/extensions/app_host_installer_win.cc (right): http://codereview.chromium.org/11054006/diff/1/chrome/browser/extensions/app_host_installer_win.cc#newcode33 chrome/browser/extensions/app_host_installer_win.cc:33: on_failure_.Run(); Use process_util::GetTerminationStatus instead of GetExitCodeProcess and be sure ...
8 years, 2 months ago (2012-10-03 15:58:35 UTC) #5
huangs
Still WIP, but please review. Some main changes: - Implemented code for the 2 other ...
8 years, 2 months ago (2012-10-03 20:09:47 UTC) #6
erikwright (departed)
https://chromiumcodereview.appspot.com/11054006/diff/3002/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/3002/chrome/browser/extensions/app_host_installer.cc#newcode7 chrome/browser/extensions/app_host_installer.cc:7: #include <windows.h> #ifdef OS_WIN https://chromiumcodereview.appspot.com/11054006/diff/3002/chrome/browser/extensions/app_host_installer.cc#newcode38 chrome/browser/extensions/app_host_installer.cc:38: LOG(ERROR) << "App ...
8 years, 2 months ago (2012-10-03 20:57:07 UTC) #7
huangs
Please check again. https://chromiumcodereview.appspot.com/11054006/diff/3002/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/3002/chrome/browser/extensions/app_host_installer.cc#newcode7 chrome/browser/extensions/app_host_installer.cc:7: #include <windows.h> On 2012/10/03 20:57:07, erikwright ...
8 years, 2 months ago (2012-10-04 00:53:14 UTC) #8
erikwright (departed)
https://chromiumcodereview.appspot.com/11054006/diff/13001/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/13001/chrome/browser/extensions/app_host_installer.cc#newcode47 chrome/browser/extensions/app_host_installer.cc:47: void OnObjectSignaled(HANDLE object) { virtual ... OVERRIDE #include compiler_specific ...
8 years, 2 months ago (2012-10-04 01:28:16 UTC) #9
benwells
https://chromiumcodereview.appspot.com/11054006/diff/13001/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/13001/chrome/browser/extensions/app_host_installer.cc#newcode12 chrome/browser/extensions/app_host_installer.cc:12: #include "chrome/common/extensions/extension.h" Nit: Move includes like string16, logging, process_util ...
8 years, 2 months ago (2012-10-04 07:53:01 UTC) #10
huangs
Thanks to erikwright@, for laying out the code for app_host_installer.cc for me! Main changes: - ...
8 years, 2 months ago (2012-10-04 22:56:42 UTC) #11
erikwright (departed)
https://chromiumcodereview.appspot.com/11054006/diff/16002/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/16002/chrome/browser/extensions/app_host_installer.cc#newcode126 chrome/browser/extensions/app_host_installer.cc:126: class AppHostInstallerImpl { Move AppHostInstallerImpl to app_host_installer_impl_win.{h,cc} https://chromiumcodereview.appspot.com/11054006/diff/16002/chrome/browser/extensions/app_host_installer.cc#newcode131 chrome/browser/extensions/app_host_installer.cc:131: ...
8 years, 2 months ago (2012-10-05 02:21:56 UTC) #12
grt (UTC plus 2)
minor drive-by q's. https://chromiumcodereview.appspot.com/11054006/diff/16002/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/16002/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode61 chrome/installer/launcher_support/chrome_launcher_support.cc:61: subkey.append(1, L'\\').append(app_guid); this is here for ...
8 years, 2 months ago (2012-10-05 02:53:05 UTC) #13
huangs
Please take another look. I implemented a new flow in app_host_installer_impl_win.cc (old flow was in ...
8 years, 2 months ago (2012-10-05 19:46:08 UTC) #14
erikwright (departed)
Just a quick look at the main area for risk. I think you risk use-after-frees ...
8 years, 2 months ago (2012-10-05 21:18:23 UTC) #15
huangs
Can we make AppHostInstallerImpl manage its own lifecycle instead, i.e. gets allocated InstallAppHostIfNecessary() and "forgotten", ...
8 years, 2 months ago (2012-10-07 00:42:41 UTC) #16
huangs
Please check again! https://chromiumcodereview.appspot.com/11054006/diff/24003/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/24003/chrome/browser/extensions/app_host_installer.cc#newcode7 chrome/browser/extensions/app_host_installer.cc:7: #include "base/bind.h" On 2012/10/05 21:18:23, erikwright ...
8 years, 2 months ago (2012-10-07 01:42:25 UTC) #17
benwells
http://codereview.chromium.org/11054006/diff/8013/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/11054006/diff/8013/chrome/app/generated_resources.grd#newcode4985 chrome/app/generated_resources.grd:4985: + Could not install App Host. This seems a ...
8 years, 2 months ago (2012-10-08 06:14:32 UTC) #18
erikwright (departed)
http://codereview.chromium.org/11054006/diff/8013/chrome/browser/extensions/app_host_installer.h File chrome/browser/extensions/app_host_installer.h (right): http://codereview.chromium.org/11054006/diff/8013/chrome/browser/extensions/app_host_installer.h#newcode26 chrome/browser/extensions/app_host_installer.h:26: const base::Callback<void(bool)>& completion_callback); On 2012/10/08 06:14:33, benwells wrote: > ...
8 years, 2 months ago (2012-10-09 15:54:53 UTC) #19
huangs
https://chromiumcodereview.appspot.com/11054006/diff/8013/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/11054006/diff/8013/chrome/app/generated_resources.grd#newcode4985 chrome/app/generated_resources.grd:4985: + Could not install App Host. On 2012/10/08 06:14:33, ...
8 years, 2 months ago (2012-10-09 18:25:37 UTC) #20
erikwright (departed)
https://chromiumcodereview.appspot.com/11054006/diff/35001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/11054006/diff/35001/chrome/app/generated_resources.grd#newcode4984 chrome/app/generated_resources.grd:4984: + <message name="IDS_EXTENSION_APP_HOST_INSTALL_ERROR" desc="Message for when an App Host ...
8 years, 2 months ago (2012-10-09 19:24:48 UTC) #21
huangs
Please take another look. https://chromiumcodereview.appspot.com/11054006/diff/35001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/11054006/diff/35001/chrome/app/generated_resources.grd#newcode4984 chrome/app/generated_resources.grd:4984: + <message name="IDS_EXTENSION_APP_HOST_INSTALL_ERROR" desc="Message for ...
8 years, 2 months ago (2012-10-09 21:09:15 UTC) #22
erikwright (departed)
Please make sure you have read the Google C++ style guide (and Chromium style guide) ...
8 years, 2 months ago (2012-10-09 21:51:52 UTC) #23
huangs
Made the suggested changes on comments, but not uploading yet (as more comments might come ...
8 years, 2 months ago (2012-10-09 22:44:26 UTC) #24
benwells
http://codereview.chromium.org/11054006/diff/8013/chrome/browser/extensions/app_host_installer.h File chrome/browser/extensions/app_host_installer.h (right): http://codereview.chromium.org/11054006/diff/8013/chrome/browser/extensions/app_host_installer.h#newcode26 chrome/browser/extensions/app_host_installer.h:26: const base::Callback<void(bool)>& completion_callback); On 2012/10/09 18:25:37, huangs1 wrote: > ...
8 years, 2 months ago (2012-10-10 03:22:04 UTC) #25
huangs
Please check again. https://chromiumcodereview.appspot.com/11054006/diff/34002/chrome/browser/extensions/app_host_installer_impl_win.h File chrome/browser/extensions/app_host_installer_impl_win.h (right): https://chromiumcodereview.appspot.com/11054006/diff/34002/chrome/browser/extensions/app_host_installer_impl_win.h#newcode49 chrome/browser/extensions/app_host_installer_impl_win.h:49: // Callback that should be invoked ...
8 years, 2 months ago (2012-10-10 14:39:49 UTC) #26
erikwright (departed)
I'm going to drum up a suggestion for the final file locations. https://chromiumcodereview.appspot.com/11054006/diff/43016/chrome/browser/extensions/app_host_installer_impl_win.cc File chrome/browser/extensions/app_host_installer_impl_win.cc ...
8 years, 2 months ago (2012-10-10 16:32:24 UTC) #27
huangs
PTAL https://chromiumcodereview.appspot.com/11054006/diff/43016/chrome/browser/extensions/app_host_installer_impl_win.cc File chrome/browser/extensions/app_host_installer_impl_win.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/43016/chrome/browser/extensions/app_host_installer_impl_win.cc#newcode14 chrome/browser/extensions/app_host_installer_impl_win.cc:14: #include "base/win/object_watcher.h" On 2012/10/10 16:32:24, erikwright wrote: > ...
8 years, 2 months ago (2012-10-10 17:46:42 UTC) #28
gab
Just a little insightful comment for Sam :). https://chromiumcodereview.appspot.com/11054006/diff/43016/chrome/browser/extensions/app_host_installer_impl_win.cc File chrome/browser/extensions/app_host_installer_impl_win.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/43016/chrome/browser/extensions/app_host_installer_impl_win.cc#newcode14 chrome/browser/extensions/app_host_installer_impl_win.cc:14: #include ...
8 years, 2 months ago (2012-10-11 04:08:00 UTC) #29
huangs
Thanks gab@!
8 years, 2 months ago (2012-10-11 14:46:31 UTC) #30
huangs
Only changed chrome/chrome_browser.gypi. PTAL.
8 years, 2 months ago (2012-10-11 15:48:48 UTC) #31
huangs
Single line fix! PTAL.
8 years, 1 month ago (2012-10-24 15:01:50 UTC) #32
erikwright (departed)
first pass. http://codereview.chromium.org/11054006/diff/53001/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): http://codereview.chromium.org/11054006/diff/53001/chrome/browser/extensions/app_host_installer.cc#newcode18 chrome/browser/extensions/app_host_installer.cc:18: void InstallAppHostIfNecessary(const Extension& extension, same wrapping here. ...
8 years, 1 month ago (2012-10-24 15:33:28 UTC) #33
grt (UTC plus 2)
partial review here. some nits, some open for discussion https://chromiumcodereview.appspot.com/11054006/diff/53001/chrome/browser/extensions/app_host_installer.h File chrome/browser/extensions/app_host_installer.h (right): https://chromiumcodereview.appspot.com/11054006/diff/53001/chrome/browser/extensions/app_host_installer.h#newcode14 chrome/browser/extensions/app_host_installer.h:14: ...
8 years, 1 month ago (2012-10-24 15:59:18 UTC) #34
erikwright (departed)
On 2012/10/24 15:59:18, grt wrote: > partial review here. some nits, some open for discussion ...
8 years, 1 month ago (2012-10-24 16:50:29 UTC) #35
huangs
PTAL. https://chromiumcodereview.appspot.com/11054006/diff/53001/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/53001/chrome/browser/extensions/app_host_installer.cc#newcode18 chrome/browser/extensions/app_host_installer.cc:18: void InstallAppHostIfNecessary(const Extension& extension, On 2012/10/24 15:33:28, erikwright ...
8 years, 1 month ago (2012-10-24 18:52:45 UTC) #36
erikwright (departed)
On 2012/10/24 16:50:29, erikwright wrote: > On 2012/10/24 15:59:18, grt wrote: > > partial review ...
8 years, 1 month ago (2012-10-24 19:16:05 UTC) #37
benwells
On 2012/10/24 19:16:05, erikwright wrote: > On 2012/10/24 16:50:29, erikwright wrote: > > On 2012/10/24 ...
8 years, 1 month ago (2012-10-25 04:31:34 UTC) #38
benwells
> I like chrome/browser/app_host_util Another possibility is to have chrome/browser/apps, which could have packaged apps ...
8 years, 1 month ago (2012-10-25 04:36:50 UTC) #39
Aaron Boodman
http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc File chrome/browser/extensions/crx_installer.cc (right): http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc#newcode518 chrome/browser/extensions/crx_installer.cc:518: app_host_installer::InstallAppHostIfNecessary( This seems out of place and like a ...
8 years, 1 month ago (2012-10-25 04:39:41 UTC) #40
Aaron Boodman
http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/unpacked_installer.cc File chrome/browser/extensions/unpacked_installer.cc (right): http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/unpacked_installer.cc#newcode271 chrome/browser/extensions/unpacked_installer.cc:271: app_host_installer::InstallAppHostIfNecessary( Same thing here - this should be done ...
8 years, 1 month ago (2012-10-25 04:41:34 UTC) #41
erikwright (departed)
response to aa@. http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc File chrome/browser/extensions/crx_installer.cc (right): http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc#newcode518 chrome/browser/extensions/crx_installer.cc:518: app_host_installer::InstallAppHostIfNecessary( On 2012/10/25 04:39:41, Aaron Boodman ...
8 years, 1 month ago (2012-10-26 20:32:29 UTC) #42
Aaron Boodman
http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc File chrome/browser/extensions/crx_installer.cc (right): http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc#newcode518 chrome/browser/extensions/crx_installer.cc:518: app_host_installer::InstallAppHostIfNecessary( On 2012/10/26 20:32:30, erikwright wrote: > On 2012/10/25 ...
8 years, 1 month ago (2012-10-29 23:37:29 UTC) #43
Aaron Boodman
On Mon, Oct 29, 2012 at 4:37 PM, <aa@chromium.org> wrote: > It sounds like this ...
8 years, 1 month ago (2012-10-30 00:02:29 UTC) #44
benwells1
It feels like the same problem with the delegate in http://codereview.chromium.org/11117011/ We need some way ...
8 years, 1 month ago (2012-10-30 00:55:57 UTC) #45
erikwright (departed)
On 2012/10/29 23:37:29, Aaron Boodman wrote: > http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc > File chrome/browser/extensions/crx_installer.cc (right): > > http://codereview.chromium.org/11054006/diff/54017/chrome/browser/extensions/crx_installer.cc#newcode518 ...
8 years, 1 month ago (2012-10-31 19:29:52 UTC) #46
huangs
This is a work-in-progress upload. Key points: - Changes in crx_installer.* are abandoned. - Changes ...
8 years, 1 month ago (2012-11-01 22:55:48 UTC) #47
benwells
I like this approach a LOT. Great compromise. Just some small things and it should ...
8 years, 1 month ago (2012-11-01 23:11:46 UTC) #48
erikwright (departed)
https://chromiumcodereview.appspot.com/11054006/diff/77001/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/77001/chrome/browser/extensions/app_host_installer.cc#newcode21 chrome/browser/extensions/app_host_installer.cc:21: #if defined(OS_WIN) On 2012/11/01 23:11:46, benwells wrote: > I ...
8 years, 1 month ago (2012-11-02 01:07:26 UTC) #49
erikwright (departed)
8 years, 1 month ago (2012-11-02 01:07:27 UTC) #50
benwells
https://chromiumcodereview.appspot.com/11054006/diff/77001/chrome/browser/extensions/app_host_installer.cc File chrome/browser/extensions/app_host_installer.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/77001/chrome/browser/extensions/app_host_installer.cc#newcode21 chrome/browser/extensions/app_host_installer.cc:21: #if defined(OS_WIN) On 2012/11/02 01:07:26, erikwright wrote: > On ...
8 years, 1 month ago (2012-11-02 01:29:25 UTC) #51
huangs
PTAL. Notes: - Removed the localized error messages, since App Host installation failure will only ...
8 years, 1 month ago (2012-11-02 18:39:01 UTC) #52
erikwright (departed)
http://codereview.chromium.org/11054006/diff/72003/chrome/browser/extensions/app_shortcut_manager.cc File chrome/browser/extensions/app_shortcut_manager.cc (right): http://codereview.chromium.org/11054006/diff/72003/chrome/browser/extensions/app_shortcut_manager.cc#newcode94 chrome/browser/extensions/app_shortcut_manager.cc:94: base::Unretained(this), extension)); For safety the instance pointer should be ...
8 years, 1 month ago (2012-11-02 18:56:38 UTC) #53
grt (UTC plus 2)
http://codereview.chromium.org/11054006/diff/72003/chrome/chrome_browser_extensions.gypi File chrome/chrome_browser_extensions.gypi (right): http://codereview.chromium.org/11054006/diff/72003/chrome/chrome_browser_extensions.gypi#newcode344 chrome/chrome_browser_extensions.gypi:344: 'browser/extensions/app_host_installer_win.cc', are these files gone? i don't see them ...
8 years, 1 month ago (2012-11-02 20:13:04 UTC) #54
huangs
PTAL. I forgot to "git add" in the last CL. https://chromiumcodereview.appspot.com/11054006/diff/72003/chrome/browser/extensions/app_shortcut_manager.cc File chrome/browser/extensions/app_shortcut_manager.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/72003/chrome/browser/extensions/app_shortcut_manager.cc#newcode94 ...
8 years, 1 month ago (2012-11-02 20:22:36 UTC) #55
erikwright (departed)
LGTM. https://chromiumcodereview.appspot.com/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h File chrome/browser/extensions/app_host_installer_win.h (right): https://chromiumcodereview.appspot.com/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h#newcode61 chrome/browser/extensions/app_host_installer_win.h:61: base::win::ScopedHandle process_; #include "base/win/scoped_handle.h" https://chromiumcodereview.appspot.com/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h#newcode62 chrome/browser/extensions/app_host_installer_win.h:62: scoped_ptr<base::win::ObjectWatcher::Delegate> delegate_; ...
8 years, 1 month ago (2012-11-02 20:40:59 UTC) #56
erikwright (departed)
aa: PTAL.
8 years, 1 month ago (2012-11-02 20:41:18 UTC) #57
grt (UTC plus 2)
http://codereview.chromium.org/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h File chrome/browser/extensions/app_host_installer_win.h (right): http://codereview.chromium.org/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h#newcode18 chrome/browser/extensions/app_host_installer_win.h:18: using content::BrowserThread; "using" in a header like this is ...
8 years, 1 month ago (2012-11-02 20:44:42 UTC) #58
erikwright (departed)
http://codereview.chromium.org/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h File chrome/browser/extensions/app_host_installer_win.h (right): http://codereview.chromium.org/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h#newcode26 chrome/browser/extensions/app_host_installer_win.h:26: class AppHostInstaller { On 2012/11/02 20:44:42, grt wrote: > ...
8 years, 1 month ago (2012-11-02 20:48:22 UTC) #59
huangs
PTAL. https://chromiumcodereview.appspot.com/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h File chrome/browser/extensions/app_host_installer_win.h (right): https://chromiumcodereview.appspot.com/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h#newcode18 chrome/browser/extensions/app_host_installer_win.h:18: using content::BrowserThread; On 2012/11/02 20:44:42, grt wrote: > ...
8 years, 1 month ago (2012-11-02 22:15:32 UTC) #60
benwells
http://codereview.chromium.org/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h File chrome/browser/extensions/app_host_installer_win.h (right): http://codereview.chromium.org/11054006/diff/76003/chrome/browser/extensions/app_host_installer_win.h#newcode26 chrome/browser/extensions/app_host_installer_win.h:26: class AppHostInstaller { On 2012/11/02 22:15:33, huangs1 wrote: > ...
8 years, 1 month ago (2012-11-05 07:44:32 UTC) #61
benwells
lgtm. Would prefer the installer implementation hidden but that can come in a clean up ...
8 years, 1 month ago (2012-11-05 08:04:44 UTC) #62
grt (UTC plus 2)
lgtm http://codereview.chromium.org/11054006/diff/72004/chrome/browser/extensions/app_shortcut_manager.cc File chrome/browser/extensions/app_shortcut_manager.cc (right): http://codereview.chromium.org/11054006/diff/72004/chrome/browser/extensions/app_shortcut_manager.cc#newcode55 chrome/browser/extensions/app_shortcut_manager.cc:55: : ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)), move this after tracker_'s initialization to ...
8 years, 1 month ago (2012-11-05 16:58:29 UTC) #63
Aaron Boodman
lgtm
8 years, 1 month ago (2012-11-06 20:02:33 UTC) #64
huangs
PTAL. https://chromiumcodereview.appspot.com/11054006/diff/72004/chrome/browser/extensions/app_shortcut_manager.cc File chrome/browser/extensions/app_shortcut_manager.cc (right): https://chromiumcodereview.appspot.com/11054006/diff/72004/chrome/browser/extensions/app_shortcut_manager.cc#newcode55 chrome/browser/extensions/app_shortcut_manager.cc:55: : ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)), On 2012/11/05 16:58:30, grt wrote: > ...
8 years, 1 month ago (2012-11-07 20:06:00 UTC) #65
erikwright (departed)
brettw: PTAL for chrome_browser_extensions.gypi .
8 years, 1 month ago (2012-11-07 20:38:42 UTC) #66
erikwright (departed)
TBR'ing brettw for simple .gypi change. Feel free to uncheck CQ if you wish strongly ...
8 years, 1 month ago (2012-11-08 01:51:28 UTC) #67
erikwright (departed)
TBR'ing brettw for simple .gypi change. Feel free to uncheck CQ if you wish strongly ...
8 years, 1 month ago (2012-11-08 01:51:34 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/11054006/72013
8 years, 1 month ago (2012-11-08 01:52:51 UTC) #69
commit-bot: I haz the power
Retried try job too often for step(s) compile
8 years, 1 month ago (2012-11-08 02:23:20 UTC) #70
erikwright (departed)
huangs: Please add this explicit out-of-line destructor. From linux_clang: In file included from ../../chrome/browser/extensions/extension_service.h:22: ../../chrome/browser/extensions/app_shortcut_manager.h:20:1:error: ...
8 years, 1 month ago (2012-11-08 03:22:19 UTC) #71
huangs
@erikwright: Thanks for looking into this. Updated, but will run try job first.
8 years, 1 month ago (2012-11-08 04:30:53 UTC) #72
huangs
8 years, 1 month ago (2012-11-08 04:53:19 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/11054006/79004
8 years, 1 month ago (2012-11-08 05:20:44 UTC) #74
commit-bot: I haz the power
8 years, 1 month ago (2012-11-08 08:32:46 UTC) #75
Change committed as 166640

Powered by Google App Engine
This is Rietveld 408576698