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

Issue 9340007: Make the Chrome Web Store Icon Syncable (Closed)

Created:
8 years, 10 months ago by csharp
Modified:
8 years, 10 months ago
CC:
chromium-reviews, ncarter (slow), Raghu Simha, mihaip+watch_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Make the Chrome Web Store Icon Syncable Mark the CWS as a syncable app so that it page and app launch ordinals are synced. It also ensure that the CWS has valid ordinals as soon as it it added to the client, instead of waiting until the NTP is shown. BUG=112290 TEST=Users should be able to move the Chrome Web store icon and have its positions update to other signed in locations. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121310

Patch Set 1 #

Total comments: 4

Patch Set 2 : Responding to Comments #

Total comments: 8

Patch Set 3 : Responding to comments #

Patch Set 4 : Fixing sync tests #

Total comments: 8

Patch Set 5 : Better detection of what apps need ordinals #

Total comments: 2

Patch Set 6 : Moving code to extensionsorting #

Patch Set 7 : Fixing chromeos compile problem #

Total comments: 2

Patch Set 8 : Removing braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -28 lines) Patch
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_sorting.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_sorting.cc View 1 2 3 4 5 3 chunks +31 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_sorting_unittest.cc View 1 2 3 4 5 1 chunk +25 lines, -1 line 0 comments Download
M chrome/browser/extensions/pending_extension_manager.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_app_helper.cc View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_apps_sync_test.cc View 2 chunks +33 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.h View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 4 chunks +3 lines, -13 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 2 chunks +20 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
csharp
This is the same change as before with a sync integration test (just for the ...
8 years, 10 months ago (2012-02-06 22:23:56 UTC) #1
Finnur
Extension changes LGTM, I'll leave it to akalin to judge the sync part. https://chromiumcodereview.appspot.com/9340007/diff/1/chrome/browser/extensions/extension_service.cc File ...
8 years, 10 months ago (2012-02-07 10:12:53 UTC) #2
csharp
https://chromiumcodereview.appspot.com/9340007/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://chromiumcodereview.appspot.com/9340007/diff/1/chrome/browser/extensions/extension_service.cc#newcode2074 chrome/browser/extensions/extension_service.cc:2074: extension_sorting->CreateFirstAppLaunchOrdinal(page_ordinal); On 2012/02/07 10:12:53, Finnur wrote: > nit: indentation. ...
8 years, 10 months ago (2012-02-07 15:49:39 UTC) #3
akalin
On 2012/02/07 15:49:39, csharp wrote: > https://chromiumcodereview.appspot.com/9340007/diff/1/chrome/browser/extensions/extension_service.cc > File chrome/browser/extensions/extension_service.cc (right): > > https://chromiumcodereview.appspot.com/9340007/diff/1/chrome/browser/extensions/extension_service.cc#newcode2074 > ...
8 years, 10 months ago (2012-02-07 22:49:09 UTC) #4
akalin
LGTM after clean trybot runs (don't use the CQ until you get those) http://codereview.chromium.org/9340007/diff/5001/chrome/browser/extensions/extension_service.cc File ...
8 years, 10 months ago (2012-02-07 22:54:13 UTC) #5
Aaron Boodman
I'm not crazy about the special cases in core extension classes. Can you hold off ...
8 years, 10 months ago (2012-02-07 23:01:18 UTC) #6
Aaron Boodman
http://codereview.chromium.org/9340007/diff/5001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9340007/diff/5001/chrome/browser/extensions/extension_service.cc#newcode1576 chrome/browser/extensions/extension_service.cc:1576: // This shouldn't be called for component extensions other ...
8 years, 10 months ago (2012-02-08 00:37:53 UTC) #7
csharp
I'll run this change though the try bots again to make sure it doesn't break ...
8 years, 10 months ago (2012-02-08 15:46:16 UTC) #8
csharp
http://codereview.chromium.org/9340007/diff/5001/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/9340007/diff/5001/chrome/common/extensions/extension.cc#newcode2978 chrome/common/extensions/extension.cc:2978: if (id() == extension_misc::kWebStoreAppId) On 2012/02/08 15:46:16, csharp wrote: ...
8 years, 10 months ago (2012-02-08 16:43:33 UTC) #9
Aaron Boodman
How about this: bool Extension::ShouldDisplayInLauncher() { return location_ == INTERNAL || <is webstore>; } bool ...
8 years, 10 months ago (2012-02-08 18:23:28 UTC) #10
akalin
http://codereview.chromium.org/9340007/diff/10003/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9340007/diff/10003/chrome/browser/extensions/extension_service.cc#newcode2067 chrome/browser/extensions/extension_service.cc:2067: page_ordinal = extension->id() == extension_misc::kWebStoreAppId ? add a comment ...
8 years, 10 months ago (2012-02-08 18:27:42 UTC) #11
akalin
On 2012/02/08 15:46:16, csharp wrote: > I'll run this change though the try bots again ...
8 years, 10 months ago (2012-02-08 18:29:02 UTC) #12
csharp
estade, could you look at the webui changes? Thanks http://codereview.chromium.org/9340007/diff/10003/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9340007/diff/10003/chrome/browser/extensions/extension_service.cc#newcode1578 chrome/browser/extensions/extension_service.cc:1578: ...
8 years, 10 months ago (2012-02-08 20:02:26 UTC) #13
Aaron Boodman
http://codereview.chromium.org/9340007/diff/11004/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9340007/diff/11004/chrome/browser/extensions/extension_service.cc#newcode2060 chrome/browser/extensions/extension_service.cc:2060: if (extension->ShouldDisplayInLauncher()) { Last comment: Is it possible to ...
8 years, 10 months ago (2012-02-09 00:05:46 UTC) #14
Evan Stade
webui lgtm
8 years, 10 months ago (2012-02-09 02:23:39 UTC) #15
csharp
http://codereview.chromium.org/9340007/diff/11004/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9340007/diff/11004/chrome/browser/extensions/extension_service.cc#newcode2060 chrome/browser/extensions/extension_service.cc:2060: if (extension->ShouldDisplayInLauncher()) { On 2012/02/09 00:05:46, Aaron Boodman wrote: ...
8 years, 10 months ago (2012-02-09 15:45:45 UTC) #16
csharp
sky, can you look at app_list_model_builder.cc? Thanks
8 years, 10 months ago (2012-02-09 17:02:28 UTC) #17
sky
LGTM
8 years, 10 months ago (2012-02-09 19:06:36 UTC) #18
Aaron Boodman
lgtm http://codereview.chromium.org/9340007/diff/18006/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9340007/diff/18006/chrome/browser/extensions/extension_service.cc#newcode2060 chrome/browser/extensions/extension_service.cc:2060: if (extension->ShouldDisplayInLauncher()) { Nit: Braces are not required ...
8 years, 10 months ago (2012-02-09 19:17:37 UTC) #19
csharp
http://codereview.chromium.org/9340007/diff/18006/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9340007/diff/18006/chrome/browser/extensions/extension_service.cc#newcode2060 chrome/browser/extensions/extension_service.cc:2060: if (extension->ShouldDisplayInLauncher()) { On 2012/02/09 19:17:37, Aaron Boodman wrote: ...
8 years, 10 months ago (2012-02-09 19:53:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/9340007/19014
8 years, 10 months ago (2012-02-09 19:53:32 UTC) #21
akalin
LGTM
8 years, 10 months ago (2012-02-09 20:40:47 UTC) #22
commit-bot: I haz the power
8 years, 10 months ago (2012-02-09 21:51:53 UTC) #23
Change committed as 121310

Powered by Google App Engine
This is Rietveld 408576698