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

Issue 10875065: Disable install of new default_apps for existing users (Closed)

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

Description

Disable install of new default apps for existing users. Also moves the DefaultAppsTest in extension_service_unittest.cc to a separate file. BUG=138614 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154064

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moved the migration logic into the default_apps Provider #

Total comments: 3

Patch Set 3 : Moved the migration to Provider class #

Total comments: 1

Patch Set 4 : . #

Patch Set 5 : moved functions to unnamed namespace #

Total comments: 5

Patch Set 6 : comments #

Patch Set 7 : rebase #

Patch Set 8 : Fixed unit_test build and moved default_apps unittest #

Patch Set 9 : . #

Total comments: 4

Patch Set 10 : comments #

Patch Set 11 : . #

Patch Set 12 : remove MockExtensionLoader destructor #

Patch Set 13 : made destructor private #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -88 lines) Patch
M chrome/browser/extensions/default_apps.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/extensions/default_apps.cc View 1 2 3 4 5 6 7 8 9 6 chunks +69 lines, -34 lines 0 comments Download
A chrome/browser/extensions/default_apps_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +92 lines, -0 lines 1 comment Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -49 lines 0 comments Download
M chrome/browser/extensions/external_provider_impl.h View 1 2 3 4 5 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Gaurav
8 years, 4 months ago (2012-08-25 00:53:29 UTC) #1
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/10875065/diff/1/chrome/browser/extensions/external_provider_impl.cc File chrome/browser/extensions/external_provider_impl.cc (right): https://chromiumcodereview.appspot.com/10875065/diff/1/chrome/browser/extensions/external_provider_impl.cc#newcode230 chrome/browser/extensions/external_provider_impl.cc:230: if ((!default_apps::isMigration) || IsOldDefaultApp(extension_id)) { Reading global variables like ...
8 years, 3 months ago (2012-08-27 19:31:55 UTC) #2
Gaurav
8 years, 3 months ago (2012-08-27 23:01:16 UTC) #3
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/10875065/diff/5001/chrome/browser/extensions/default_apps.cc File chrome/browser/extensions/default_apps.cc (right): https://chromiumcodereview.appspot.com/10875065/diff/5001/chrome/browser/extensions/default_apps.cc#newcode22 chrome/browser/extensions/default_apps.cc:22: bool isMigration; It's a bit better now that this ...
8 years, 3 months ago (2012-08-27 23:36:21 UTC) #4
Gaurav
https://chromiumcodereview.appspot.com/10875065/diff/2003/chrome/browser/extensions/default_apps.h File chrome/browser/extensions/default_apps.h (right): https://chromiumcodereview.appspot.com/10875065/diff/2003/chrome/browser/extensions/default_apps.h#newcode28 chrome/browser/extensions/default_apps.h:28: bool isOldDefaultApp(const std::string& extension_id); I tried removing it and ...
8 years, 3 months ago (2012-08-28 00:58:36 UTC) #5
Gaurav
8 years, 3 months ago (2012-08-28 18:15:38 UTC) #6
Mihai Parparita -not on Chrome
LGTM https://chromiumcodereview.appspot.com/10875065/diff/11001/chrome/browser/extensions/default_apps.cc File chrome/browser/extensions/default_apps.cc (right): https://chromiumcodereview.appspot.com/10875065/diff/11001/chrome/browser/extensions/default_apps.cc#newcode24 chrome/browser/extensions/default_apps.cc:24: const std::string gmail_id = "pjkljhegncpnkpknbcohdijeoejaedia"; These can be ...
8 years, 3 months ago (2012-08-28 18:22:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/10875065/17001
8 years, 3 months ago (2012-08-28 18:40:18 UTC) #8
commit-bot: I haz the power
Try job failure for 10875065-17001 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-08-28 19:15:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/10875065/13002
8 years, 3 months ago (2012-08-28 20:01:30 UTC) #10
Mihai Parparita -not on Chrome
A simple rebase isn't enough. Looking at the tryserver failures ( http://build.chromium.org/p/tryserver.chromium/builders/mac_rel/builds/51128/steps/compile/logs/stdio), you'll need to ...
8 years, 3 months ago (2012-08-28 20:23:50 UTC) #11
commit-bot: I haz the power
Try job failure for 10875065-13002 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-08-28 20:39:20 UTC) #12
Gaurav
8 years, 3 months ago (2012-08-29 00:42:50 UTC) #13
Nico
This just appeared in my inbox. If I'm supposed to look at foo/bar/*, please say ...
8 years, 3 months ago (2012-08-29 00:49:30 UTC) #14
Mihai Parparita -not on Chrome
The CL description should also be updated to mention the test move. https://chromiumcodereview.appspot.com/10875065/diff/16008/chrome/browser/extensions/default_apps.cc File chrome/browser/extensions/default_apps.cc ...
8 years, 3 months ago (2012-08-29 00:51:18 UTC) #15
Gaurav
thakis: file chrome/chrome_tests.gypi https://chromiumcodereview.appspot.com/10875065/diff/16008/chrome/browser/extensions/default_apps.h File chrome/browser/extensions/default_apps.h (right): https://chromiumcodereview.appspot.com/10875065/diff/16008/chrome/browser/extensions/default_apps.h#newcode51 chrome/browser/extensions/default_apps.h:51: static bool ShouldInstallInProfile(Profile* profile); I just ...
8 years, 3 months ago (2012-08-29 07:45:46 UTC) #16
Nico
gypi change lgtm
8 years, 3 months ago (2012-08-29 14:11:09 UTC) #17
Gaurav
8 years, 3 months ago (2012-08-29 21:13:21 UTC) #18
Mihai Parparita -not on Chrome
BTW, when upload for re-review, it's customary to say what what has changed, or at ...
8 years, 3 months ago (2012-08-29 21:21:58 UTC) #19
Mihai Parparita -not on Chrome
LGTM
8 years, 3 months ago (2012-08-29 21:23:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/10875065/19005
8 years, 3 months ago (2012-08-29 21:24:59 UTC) #21
Gaurav
On 2012/08/29 21:24:59, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years, 3 months ago (2012-08-29 21:26:02 UTC) #22
commit-bot: I haz the power
Try job failure for 10875065-19005 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-08-29 21:55:45 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/10875065/14009
8 years, 3 months ago (2012-08-29 22:14:18 UTC) #24
commit-bot: I haz the power
Try job failure for 10875065-14009 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-08-29 22:46:25 UTC) #25
Mihai Parparita -not on Chrome
The error before was: ../../chrome/browser/extensions/default_apps_unittest.cc:25:3:error: [chromium-style] Classes that are ref-counted should not have public destructors. ...
8 years, 3 months ago (2012-08-29 22:50:13 UTC) #26
Mihai Parparita -not on Chrome
The error before was: ../../chrome/browser/extensions/default_apps_unittest.cc:25:3:error: [chromium-style] Classes that are ref-counted should not have public destructors. ...
8 years, 3 months ago (2012-08-29 22:50:14 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grv@chromium.org/10875065/19010
8 years, 3 months ago (2012-08-29 23:16:10 UTC) #28
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/10875065/diff/19010/chrome/browser/extensions/default_apps_unittest.cc File chrome/browser/extensions/default_apps_unittest.cc (right): https://chromiumcodereview.appspot.com/10875065/diff/19010/chrome/browser/extensions/default_apps_unittest.cc#newcode24 chrome/browser/extensions/default_apps_unittest.cc:24: void StartLoading() {return;} Nit: unnecessary return statement. (can be ...
8 years, 3 months ago (2012-08-30 00:31:24 UTC) #29
commit-bot: I haz the power
8 years, 3 months ago (2012-08-30 03:52:00 UTC) #30
Change committed as 154064

Powered by Google App Engine
This is Rietveld 408576698