|
|
Created:
5 years, 4 months ago by Jitu( very slow this week) Modified:
5 years, 4 months ago CC:
chromium-reviews, zea+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMerging chrome/common/gcm_desktop_util.* and chrome/browser/services/gcm/gcm_desktop_util.*.
The code inside chrome/common/gcm_desktop_util.* only used by the
browser. So there is no point to keep this code inside chrome/common/ folder.
So merging this code to chrome/browser/services/gcm/gcm_desktop_util.*.
BUG=519571
Committed: https://crrev.com/fd2ed4305c304e907238956aa235e7cc5b39d1bc
Cr-Commit-Position: refs/heads/master@{#344966}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fixed comments #
Total comments: 2
Patch Set 3 : fixed comments #
Messages
Total messages: 34 (10 generated)
jitendra.ks@samsung.com changed reviewers: + droger@chromium.org, vivekg@chromium.org
PTAL...
droger@chromium.org changed reviewers: + zea@chromium.org
Very good. Only a minor comment below. +zea as OWNER. zea: the goal of this CL is to unblock the componentization of chrome/common/sync_util, which then eventually unblocks the componentization of gcm_desktop_util https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... chrome/browser/services/gcm/gcm_desktop_utils.cc:87: scoped_ptr<GCMDriver> CreateGCMDriverDesktopWithTaskRunners( Maybe this could be moved to the anonymous namespace too?
On 2015/08/19 09:52:38, droger wrote: > Very good. Only a minor comment below. > > +zea as OWNER. zea: the goal of this CL is to unblock the componentization of > chrome/common/sync_util, which then eventually unblocks the componentization of > gcm_desktop_util > > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): > > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > chrome/browser/services/gcm/gcm_desktop_utils.cc:87: scoped_ptr<GCMDriver> > CreateGCMDriverDesktopWithTaskRunners( > Maybe this could be moved to the anonymous namespace too?
On 2015/08/19 10:06:03, jitu wrote: > On 2015/08/19 09:52:38, droger wrote: > > Very good. Only a minor comment below. > > > > +zea as OWNER. zea: the goal of this CL is to unblock the componentization of > > chrome/common/sync_util, which then eventually unblocks the componentization > of > > gcm_desktop_util > > > > > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > > File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): > > > > > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > > chrome/browser/services/gcm/gcm_desktop_utils.cc:87: scoped_ptr<GCMDriver> > > CreateGCMDriverDesktopWithTaskRunners( > > Maybe this could be moved to the anonymous namespace too?
On 2015/08/19 10:06:37, jitu wrote: > On 2015/08/19 10:06:03, jitu wrote: > > On 2015/08/19 09:52:38, droger wrote: > > > Very good. Only a minor comment below. > > > > > > +zea as OWNER. zea: the goal of this CL is to unblock the componentization > of > > > chrome/common/sync_util, which then eventually unblocks the componentization > > of > > > gcm_desktop_util > > > > > > > > > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > > > File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): > > > > > > > > > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > > > chrome/browser/services/gcm/gcm_desktop_utils.cc:87: scoped_ptr<GCMDriver> > > > CreateGCMDriverDesktopWithTaskRunners( > > > Maybe this could be moved to the anonymous namespace too? Actually we have declared this in header as part of namespace gcm. So either we have to keep it like this. Or if we want to move this inside anonymous namespace then we have to remove the declaration from header. Please suggest.
https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... chrome/browser/services/gcm/gcm_desktop_utils.cc:87: scoped_ptr<GCMDriver> CreateGCMDriverDesktopWithTaskRunners( On 2015/08/19 09:52:38, droger wrote: > Maybe this could be moved to the anonymous namespace too? Actually we have declared this in header as part of namespace gcm. So either we have to keep it like this. Or if we want to move this inside anonymous namespace then we have to remove the declaration from header. Please suggest.
On 2015/08/19 10:24:17, jitu wrote: > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): > > https://codereview.chromium.org/1297503003/diff/1/chrome/browser/services/gcm... > chrome/browser/services/gcm/gcm_desktop_utils.cc:87: scoped_ptr<GCMDriver> > CreateGCMDriverDesktopWithTaskRunners( > On 2015/08/19 09:52:38, droger wrote: > > Maybe this could be moved to the anonymous namespace too? > > Actually we have declared this in header as part of namespace gcm. > So either we have to keep it like this. > > Or if we want to move this inside anonymous namespace then we have to remove the > declaration from header. > > Please suggest. I was thinking that we could remove it from the header if it's not used.
Fixed the comments PTAL ...
lgtm
The CQ bit was checked by zea@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297503003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297503003/20001
https://codereview.chromium.org/1297503003/diff/20001/chrome/browser/services... File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): https://codereview.chromium.org/1297503003/diff/20001/chrome/browser/services... chrome/browser/services/gcm/gcm_desktop_utils.cc:85: scoped_ptr<GCMDriver> CreateGCMDriverDesktopWithTaskRunners( nit: Considering this is only used in one place and in an anon namespace, I think it would be cleaner to just inline it directly in CreateGCMDriverDesktop
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #3 (id:40001) has been deleted
PTAL ... https://codereview.chromium.org/1297503003/diff/20001/chrome/browser/services... File chrome/browser/services/gcm/gcm_desktop_utils.cc (right): https://codereview.chromium.org/1297503003/diff/20001/chrome/browser/services... chrome/browser/services/gcm/gcm_desktop_utils.cc:85: scoped_ptr<GCMDriver> CreateGCMDriverDesktopWithTaskRunners( On 2015/08/19 16:56:14, Nicolas Zea wrote: > nit: Considering this is only used in one place and in an anon namespace, I > think it would be cleaner to just inline it directly in CreateGCMDriverDesktop Done.
LGTM, thanks!
The CQ bit was checked by jitendra.ks@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from droger@chromium.org Link to the patchset: https://codereview.chromium.org/1297503003/#ps60001 (title: "fixed comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297503003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297503003/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
jitendra.ks@samsung.com changed reviewers: + thestig@chromium.org
Dear Lei Zhang, Could you please do the owner review for -- chrome/common/*
Note that I was going to use the common bit from the service process, that's why I moved it there. That project has been stopped though, so go ahead :-)
On 2015/08/21 at 13:58:44, mvanouwerkerk wrote: > Note that I was going to use the common bit from the service process, that's why I moved it there. That project has been stopped though, so go ahead :-) Moving the code into //chrome/browser/services/gcm means that it won't be shareable with iOS. Why not componentize the bits that can be instead?
On 2015/08/21 at 14:49:11, sdefresne wrote: > On 2015/08/21 at 13:58:44, mvanouwerkerk wrote: > > Note that I was going to use the common bit from the service process, that's why I moved it there. That project has been stopped though, so go ahead :-) > > Moving the code into //chrome/browser/services/gcm means that it won't be shareable with iOS. > Why not componentize the bits that can be instead? Discussed offline. Looks good. Thank you for merging those two files.
lgtm
The CQ bit was checked by jitendra.ks@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1297503003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1297503003/60001
Message was sent while issue was closed.
Committed patchset #3 (id:60001)
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/fd2ed4305c304e907238956aa235e7cc5b39d1bc Cr-Commit-Position: refs/heads/master@{#344966} |