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

Issue 412043003: Make --install-chrome-app use extensions::WebstoreInstallWithPrompt. (Closed)

Created:
6 years, 5 months ago by jackhou1
Modified:
6 years, 4 months ago
Reviewers:
tapted
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Make --install-chrome-app use extensions::WebstoreInstallWithPrompt. This removes the code that resolves the webstore URL which doesn't seem too work any more. Instead it just navigates to the webstore page and uses WebstoreInstallWithPrompt to install the app. BUG=341353 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285876

Patch Set 1 #

Total comments: 2

Patch Set 2 : Keep install_chrome_app #

Total comments: 8

Patch Set 3 : Redo this with only changes to install_chrome_app. #

Total comments: 8

Patch Set 4 : Address comments #

Total comments: 8

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -64 lines) Patch
D chrome/browser/apps/install_chrome_app.cc View 1 2 3 4 2 chunks +42 lines, -64 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jackhou1
tapted, could you take a look at startup_browser_creator?
6 years, 5 months ago (2014-07-24 02:59:44 UTC) #1
tapted
Can you highlight how it's different from the kInstallFromWebstore flag? (can we just add an ...
6 years, 5 months ago (2014-07-24 07:52:51 UTC) #2
jackhou1
> Can you highlight how it's different from the kInstallFromWebstore flag? (can we > just ...
6 years, 5 months ago (2014-07-25 01:47:33 UTC) #3
tapted
https://codereview.chromium.org/412043003/diff/20001/chrome/browser/extensions/startup_helper.cc File chrome/browser/extensions/startup_helper.cc (right): https://codereview.chromium.org/412043003/diff/20001/chrome/browser/extensions/startup_helper.cc#newcode283 chrome/browser/extensions/startup_helper.cc:283: base::RunLoop run_loop; InstallFromWebstore does this, which is blocking - ...
6 years, 5 months ago (2014-07-25 03:49:12 UTC) #4
tapted
https://codereview.chromium.org/412043003/diff/20001/chrome/browser/extensions/startup_helper.cc File chrome/browser/extensions/startup_helper.cc (right): https://codereview.chromium.org/412043003/diff/20001/chrome/browser/extensions/startup_helper.cc#newcode283 chrome/browser/extensions/startup_helper.cc:283: base::RunLoop run_loop; On 2014/07/25 03:49:12, tapted wrote: > InstallFromWebstore ...
6 years, 5 months ago (2014-07-25 04:39:57 UTC) #5
jackhou1
After thinking about this again, I realised the main goal is to get it working ...
6 years, 4 months ago (2014-07-28 02:58:15 UTC) #6
tapted
https://codereview.chromium.org/412043003/diff/40001/chrome/browser/apps/install_chrome_app.cc File chrome/browser/apps/install_chrome_app.cc (right): https://codereview.chromium.org/412043003/diff/40001/chrome/browser/apps/install_chrome_app.cc#newcode44 chrome/browser/apps/install_chrome_app.cc:44: BrowserList::GetInstance(chrome::HOST_DESKTOP_TYPE_NATIVE)->get(0); I don't think BrowserList::get() can ever return NULL, ...
6 years, 4 months ago (2014-07-28 03:41:04 UTC) #7
jackhou1
https://codereview.chromium.org/412043003/diff/40001/chrome/browser/apps/install_chrome_app.cc File chrome/browser/apps/install_chrome_app.cc (right): https://codereview.chromium.org/412043003/diff/40001/chrome/browser/apps/install_chrome_app.cc#newcode44 chrome/browser/apps/install_chrome_app.cc:44: BrowserList::GetInstance(chrome::HOST_DESKTOP_TYPE_NATIVE)->get(0); On 2014/07/28 03:41:04, tapted wrote: > I don't ...
6 years, 4 months ago (2014-07-28 04:18:54 UTC) #8
tapted
lgtm % nits and after updating the CL description https://codereview.chromium.org/412043003/diff/60001/chrome/browser/apps/install_chrome_app.cc File chrome/browser/apps/install_chrome_app.cc (right): https://codereview.chromium.org/412043003/diff/60001/chrome/browser/apps/install_chrome_app.cc#newcode15 chrome/browser/apps/install_chrome_app.cc:15: ...
6 years, 4 months ago (2014-07-28 04:35:44 UTC) #9
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 4 months ago (2014-07-28 05:16:27 UTC) #10
jackhou1
https://codereview.chromium.org/412043003/diff/60001/chrome/browser/apps/install_chrome_app.cc File chrome/browser/apps/install_chrome_app.cc (right): https://codereview.chromium.org/412043003/diff/60001/chrome/browser/apps/install_chrome_app.cc#newcode15 chrome/browser/apps/install_chrome_app.cc:15: #include "chrome/common/extensions/webstore_install_result.h" On 2014/07/28 04:35:43, tapted wrote: > meta-nit: ...
6 years, 4 months ago (2014-07-28 05:16:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/412043003/80001
6 years, 4 months ago (2014-07-28 05:17:07 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-07-28 08:09:42 UTC) #13
Message was sent while issue was closed.
Change committed as 285876

Powered by Google App Engine
This is Rietveld 408576698