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

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

Created:
8 years, 10 months ago by csharp
Modified:
8 years, 10 months ago
Reviewers:
Finnur, akalin
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
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. 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=120432

Patch Set 1 #

Total comments: 4

Patch Set 2 : Adding DCHECK instead of NOTREACHED #

Total comments: 5

Patch Set 3 : Adding check to ensure we don't download CWS #

Total comments: 8

Patch Set 4 : Responding to comments #

Total comments: 2

Patch Set 5 : Fixing Spelling Mistake #

Total comments: 4

Patch Set 6 : responding to comments #

Patch Set 7 : Changing DCHECK_EQ to DCHECK_STREQ #

Patch Set 8 : Casting char* to string #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/extensions/pending_extension_manager.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
csharp
I'm not sure if this is the best way to sync the CWS, but I ...
8 years, 10 months ago (2012-01-31 21:02:25 UTC) #1
akalin
this will cause every browser instance to try to download the chrome web store app ...
8 years, 10 months ago (2012-01-31 23:15:21 UTC) #2
Finnur
https://chromiumcodereview.appspot.com/9315007/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (left): https://chromiumcodereview.appspot.com/9315007/diff/1/chrome/browser/extensions/extension_service.cc#oldcode1587 chrome/browser/extensions/extension_service.cc:1587: NOTREACHED(); Why is this needed?
8 years, 10 months ago (2012-02-01 09:18:57 UTC) #3
csharp
I'm not completely sure if this is exactly what we want, but in my testing ...
8 years, 10 months ago (2012-02-01 14:48:22 UTC) #4
Finnur
I'll leave the validity of the sync issue to akalin (not sure whether this approach ...
8 years, 10 months ago (2012-02-01 15:09:10 UTC) #5
csharp
https://chromiumcodereview.appspot.com/9315007/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (left): https://chromiumcodereview.appspot.com/9315007/diff/1/chrome/browser/extensions/extension_service.cc#oldcode1587 chrome/browser/extensions/extension_service.cc:1587: NOTREACHED(); On 2012/02/01 15:09:10, Finnur wrote: > Then why ...
8 years, 10 months ago (2012-02-01 15:32:26 UTC) #6
akalin
On 2012/02/01 14:48:22, csharp wrote: > The CWS is a Extension::component so every browser instance ...
8 years, 10 months ago (2012-02-02 01:17:24 UTC) #7
akalin
http://codereview.chromium.org/9315007/diff/6001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9315007/diff/6001/chrome/browser/extensions/extension_service.cc#newcode1588 chrome/browser/extensions/extension_service.cc:1588: DCHECK(extension_id == extension_misc::kWebStoreAppId); DCHECK_EQ http://codereview.chromium.org/9315007/diff/6001/chrome/browser/extensions/extension_service.cc#newcode1588 chrome/browser/extensions/extension_service.cc:1588: DCHECK(extension_id == extension_misc::kWebStoreAppId); ...
8 years, 10 months ago (2012-02-02 01:17:45 UTC) #8
csharp
> Also I guess this is okay for just one special case, but if there ...
8 years, 10 months ago (2012-02-02 15:26:09 UTC) #9
csharp
https://chromiumcodereview.appspot.com/9315007/diff/6001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://chromiumcodereview.appspot.com/9315007/diff/6001/chrome/browser/extensions/extension_service.cc#newcode1588 chrome/browser/extensions/extension_service.cc:1588: DCHECK(extension_id == extension_misc::kWebStoreAppId); On 2012/02/02 01:17:46, akalin wrote: > ...
8 years, 10 months ago (2012-02-02 15:26:17 UTC) #10
akalin
Few more comments http://codereview.chromium.org/9315007/diff/6002/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/9315007/diff/6002/chrome/browser/extensions/extension_service.cc#newcode1588 chrome/browser/extensions/extension_service.cc:1588: DCHECK_EQ(extension_misc::kWebStoreAppId, extension_id); flip argument order (unlike ...
8 years, 10 months ago (2012-02-03 01:44:42 UTC) #11
akalin
On 2012/02/02 15:26:09, csharp wrote: > > Also I guess this is okay for just ...
8 years, 10 months ago (2012-02-03 01:45:14 UTC) #12
csharp
https://chromiumcodereview.appspot.com/9315007/diff/6002/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://chromiumcodereview.appspot.com/9315007/diff/6002/chrome/browser/extensions/extension_service.cc#newcode1588 chrome/browser/extensions/extension_service.cc:1588: DCHECK_EQ(extension_misc::kWebStoreAppId, extension_id); On 2012/02/03 01:44:43, akalin wrote: > flip ...
8 years, 10 months ago (2012-02-03 14:57:04 UTC) #13
Finnur
My part LGTM, one nit. I defer the sync part to akalin. https://chromiumcodereview.appspot.com/9315007/diff/7005/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc ...
8 years, 10 months ago (2012-02-03 15:12:52 UTC) #14
csharp
https://chromiumcodereview.appspot.com/9315007/diff/7005/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://chromiumcodereview.appspot.com/9315007/diff/7005/chrome/browser/extensions/extension_service.cc#newcode1587 chrome/browser/extensions/extension_service.cc:1587: // web store (which is consider an app, and ...
8 years, 10 months ago (2012-02-03 15:19:19 UTC) #15
akalin
LGTM but, can you write an integration test for this? (feel free to do this ...
8 years, 10 months ago (2012-02-03 18:09:27 UTC) #16
csharp
https://chromiumcodereview.appspot.com/9315007/diff/5007/chrome/browser/extensions/pending_extension_manager.cc File chrome/browser/extensions/pending_extension_manager.cc (right): https://chromiumcodereview.appspot.com/9315007/diff/5007/chrome/browser/extensions/pending_extension_manager.cc#newcode65 chrome/browser/extensions/pending_extension_manager.cc:65: // it is listed as a syncable app (because ...
8 years, 10 months ago (2012-02-03 18:16:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/9315007/4006
8 years, 10 months ago (2012-02-03 18:17:14 UTC) #18
commit-bot: I haz the power
Try job failure for 9315007-4006 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 10 months ago (2012-02-03 19:27:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/9315007/11001
8 years, 10 months ago (2012-02-03 20:24:32 UTC) #20
csharp
On 2012/02/03 19:27:03, I haz the power (commit-bot) wrote: > Try job failure for 9315007-4006 ...
8 years, 10 months ago (2012-02-03 20:25:59 UTC) #21
akalin
There's no such thing as DCHECK_STREQ in chromium code. You can definitely use DCHECK_EQ with ...
8 years, 10 months ago (2012-02-03 20:33:13 UTC) #22
akalin
On 2012/02/03 20:33:13, akalin wrote: > There's no such thing as DCHECK_STREQ in chromium code. ...
8 years, 10 months ago (2012-02-03 20:34:35 UTC) #23
akalin
On 2012/02/03 20:34:35, akalin wrote: > On 2012/02/03 20:33:13, akalin wrote: > > There's no ...
8 years, 10 months ago (2012-02-03 20:51:16 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/9315007/8008
8 years, 10 months ago (2012-02-03 21:12:11 UTC) #25
commit-bot: I haz the power
Change committed as 120432
8 years, 10 months ago (2012-02-03 23:14:07 UTC) #26
tim (not reviewing)
On 2012/02/03 23:14:07, I haz the power (commit-bot) wrote: > Change committed as 120432 I ...
8 years, 10 months ago (2012-02-04 00:40:30 UTC) #27
akalin
8 years, 10 months ago (2012-02-04 02:46:51 UTC) #28
On 2012/02/04 00:40:30, timsteele wrote:
> On 2012/02/03 23:14:07, I haz the power (commit-bot) wrote:
> > Change committed as 120432
> 
> I reverted this as it seemed to cause sync_integration_test failures... I'm
> guessing given that it was an apps sync test failure involving the word
> 'ordinal' this patch really stuck out :)  
> 
> Please try to run sync_integration_test try runs on your patch to prevent me
> from unnecessarily reverting in the future!

Since you have to reland this, include the integration tests you were planning
to write in this CL.  I guess I should have mandated that in the first place...

Powered by Google App Engine
This is Rietveld 408576698