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

Issue 2122603007: Move FakeGCMProfileService to components (Closed)

Created:
4 years, 5 months ago by kbalazs
Modified:
3 years, 9 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, zea+watch_chromium.org, Peter Beverloo, johnme+watch_chromium.org, chromium-apps-reviews_chromium.org, harkness+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move FakeGCMProfileService to components It has no chrome dependencies. This is part of the effort to componentize gcm code in chrome as much as possible. BUG=519411

Patch Set 1 #

Patch Set 2 : just THIS patch #

Patch Set 3 : rebased to master #

Patch Set 4 : fixup ifndef header guard #

Total comments: 2

Patch Set 5 : fix comments rebase #

Patch Set 6 : buildfix - include paths #

Total comments: 4

Patch Set 7 : mo' fix #

Total comments: 1

Patch Set 8 : unbreak instanceid test #

Total comments: 2

Patch Set 9 : last touchup #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -330 lines) Patch
M chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/gcm/gcm_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/instance_id/instance_id_apitest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/service_worker_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_factory.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -7 lines 0 comments Download
D chrome/browser/services/gcm/fake_gcm_profile_service.h View 1 chunk +0 lines, -89 lines 0 comments Download
D chrome/browser/services/gcm/fake_gcm_profile_service.cc View 1 chunk +0 lines, -205 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/gcm_driver.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
A + components/gcm_driver/fake_gcm_profile_service.h View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
A + components/gcm_driver/fake_gcm_profile_service.cc View 3 chunks +3 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
kbalazs
@peter/@dimich: gcm @jam: rs the rest please
4 years, 5 months ago (2016-07-06 22:24:03 UTC) #1
kbalazs
4 years, 5 months ago (2016-07-06 23:42:25 UTC) #2
kbalazs
@dimich/@peter: gcm @jam: rs the rest please
4 years, 5 months ago (2016-07-06 23:43:47 UTC) #4
Peter Beverloo
I'm OK with this, but please address the two comments below :). https://codereview.chromium.org/2122603007/diff/60001/components/gcm_driver.gypi File components/gcm_driver.gypi ...
4 years, 5 months ago (2016-07-07 17:07:36 UTC) #5
kbalazs
On 2016/07/07 17:07:36, Peter Beverloo wrote: > I'm OK with this, but please address the ...
4 years, 5 months ago (2016-07-07 21:06:26 UTC) #6
Peter Beverloo
Thanks :) SGTM after the compile error is fixed, I'll stamp whenever you get to ...
4 years, 5 months ago (2016-07-08 14:00:01 UTC) #7
kbalazs
https://codereview.chromium.org/2122603007/diff/120001/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc File chrome/browser/extensions/api/instance_id/instance_id_apitest.cc (left): https://codereview.chromium.org/2122603007/diff/120001/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc#oldcode32 chrome/browser/extensions/api/instance_id/instance_id_apitest.cc:32: service->SetDriverForTesting(new instance_id::FakeGCMDriverForInstanceID()); FYI, this is why the tests failed. ...
4 years, 5 months ago (2016-07-14 23:14:47 UTC) #8
Peter Beverloo
lgtm if the bots are happy :) Thank you! https://codereview.chromium.org/2122603007/diff/140001/chrome/browser/push_messaging/push_messaging_service_unittest.cc File chrome/browser/push_messaging/push_messaging_service_unittest.cc (right): https://codereview.chromium.org/2122603007/diff/140001/chrome/browser/push_messaging/push_messaging_service_unittest.cc#newcode98 chrome/browser/push_messaging/push_messaging_service_unittest.cc:98: ...
4 years, 5 months ago (2016-07-15 13:58:45 UTC) #11
kbalazs
https://codereview.chromium.org/2122603007/diff/140001/chrome/browser/push_messaging/push_messaging_service_unittest.cc File chrome/browser/push_messaging/push_messaging_service_unittest.cc (right): https://codereview.chromium.org/2122603007/diff/140001/chrome/browser/push_messaging/push_messaging_service_unittest.cc#newcode98 chrome/browser/push_messaging/push_messaging_service_unittest.cc:98: &profile_, &BuildFakeGCMProfileService); On 2016/07/15 13:58:45, Peter Beverloo wrote: > ...
4 years, 5 months ago (2016-07-15 17:04:33 UTC) #14
kbalazs
last touchup
4 years, 5 months ago (2016-07-15 17:04:34 UTC) #15
kbalazs
Oops, I forgot to commit this. Doesn't conflict so I'm going to try it now.
4 years, 4 months ago (2016-08-09 22:21:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2122603007/180001
4 years, 4 months ago (2016-08-09 22:24:31 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/234336)
4 years, 4 months ago (2016-08-09 22:33:06 UTC) #25
kbalazs
On 2016/08/09 22:33:06, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-08-10 15:33:50 UTC) #26
Dmitry Titov
4 years, 4 months ago (2016-08-11 03:45:02 UTC) #27
I don't need to look at it, Peter and Jam are all you need really.
But lgtm.

Powered by Google App Engine
This is Rietveld 408576698