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

Issue 10834191: new implementation of default apps (Closed)

Created:
8 years, 4 months ago by Gaurav
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

New implementation of default apps. The default apps are now installed using the external extension install flow but are considered as internal thereafter. Thus, they should behave exactly the other apps post installation. Also, they are only installed during new profile creation or for new Chrome users. BUG=138614 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153137

Patch Set 1 #

Total comments: 9

Patch Set 2 : fixing comments #

Patch Set 3 : Added unit_test #

Patch Set 4 : fixed broken test #

Total comments: 8

Patch Set 5 : addressed comments #

Total comments: 5

Patch Set 6 : comments #

Total comments: 3

Patch Set 7 : comments #

Patch Set 8 : disable default_app unit_test for chromeos #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -54 lines) Patch
M chrome/browser/extensions/default_apps.h View 1 2 3 4 5 6 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/extensions/default_apps.cc View 1 2 3 4 5 6 6 chunks +40 lines, -36 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 1 chunk +25 lines, -14 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 2 chunks +49 lines, -0 lines 1 comment Download
M chrome/browser/extensions/external_provider_impl.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Gaurav
This implementation satisfies most of the points in the requirement docs. I have tested few ...
8 years, 4 months ago (2012-08-06 21:25:14 UTC) #1
Mihai Parparita -not on Chrome
As far as testing this, doing it via unit tests and checking the installed state ...
8 years, 4 months ago (2012-08-08 00:22:42 UTC) #2
Mihai Parparita -not on Chrome
Also, I'm not sure if you realized this already, but the default apps list is ...
8 years, 4 months ago (2012-08-08 00:24:49 UTC) #3
Aaron Boodman
http://codereview.chromium.org/10834191/diff/1/chrome/browser/extensions/default_apps.h File chrome/browser/extensions/default_apps.h (right): http://codereview.chromium.org/10834191/diff/1/chrome/browser/extensions/default_apps.h#newcode5 chrome/browser/extensions/default_apps.h:5: #ifndef CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_H_ Nit: Since this is not really apps-specific, ...
8 years, 4 months ago (2012-08-08 22:23:29 UTC) #4
Aaron Boodman
<moving myself to cc>
8 years, 4 months ago (2012-08-09 15:36:29 UTC) #5
Gaurav
Added a unit_test and added code to migrate old default apps. Will add a preference ...
8 years, 4 months ago (2012-08-10 23:06:55 UTC) #6
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/10834191/diff/6003/chrome/browser/extensions/default_apps.cc File chrome/browser/extensions/default_apps.cc (right): https://chromiumcodereview.appspot.com/10834191/diff/6003/chrome/browser/extensions/default_apps.cc#newcode40 chrome/browser/extensions/default_apps.cc:40: // migrate old default_apps. This will install them once ...
8 years, 4 months ago (2012-08-15 00:32:13 UTC) #7
Gaurav
Addressed comments
8 years, 4 months ago (2012-08-15 22:11:52 UTC) #8
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/10834191/diff/1007/chrome/browser/extensions/default_apps.cc File chrome/browser/extensions/default_apps.cc (right): https://chromiumcodereview.appspot.com/10834191/diff/1007/chrome/browser/extensions/default_apps.cc#newcode51 chrome/browser/extensions/default_apps.cc:51: // installed everytime chrome was run. Thus, changing the ...
8 years, 4 months ago (2012-08-16 00:58:24 UTC) #9
Gaurav
8 years, 4 months ago (2012-08-16 01:30:05 UTC) #10
Mihai Parparita -not on Chrome
LGTM https://chromiumcodereview.appspot.com/10834191/diff/4004/chrome/browser/extensions/default_apps.cc File chrome/browser/extensions/default_apps.cc (right): https://chromiumcodereview.appspot.com/10834191/diff/4004/chrome/browser/extensions/default_apps.cc#newcode54 chrome/browser/extensions/default_apps.cc:54: // TODO (grv) : remove after Q1-2013. Nit: ...
8 years, 4 months ago (2012-08-21 22:03:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/10834191/15001
8 years, 4 months ago (2012-08-23 18:04:24 UTC) #12
commit-bot: I haz the power
Try job failure for 10834191-15001 (retry) on linux_chromeos for step "unit_tests". It's a second try, ...
8 years, 4 months ago (2012-08-23 22:05:16 UTC) #13
Mihai Parparita -not on Chrome
Looks like you need to exclude the test on ChromeOS, since default apps are not ...
8 years, 4 months ago (2012-08-23 23:08:01 UTC) #14
Gaurav
Thanks Mihai On 2012/08/23 23:08:01, Mihai Parparita wrote: > Looks like you need to exclude ...
8 years, 4 months ago (2012-08-23 23:12:21 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/10834191/23001
8 years, 4 months ago (2012-08-23 23:12:22 UTC) #16
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/10834191/diff/23001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://chromiumcodereview.appspot.com/10834191/diff/23001/chrome/browser/extensions/extension_service_unittest.cc#newcode3831 chrome/browser/extensions/extension_service_unittest.cc:3831: #if !defined(OS_CHROMEOS) Just realized that this might make sense ...
8 years, 4 months ago (2012-08-23 23:14:22 UTC) #17
commit-bot: I haz the power
8 years, 4 months ago (2012-08-24 01:38:40 UTC) #18
Change committed as 153137

Powered by Google App Engine
This is Rietveld 408576698