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

Issue 73723006: Allow customization of HttpPostProviderFactory via ProfileSyncService (Closed)

Created:
7 years, 1 month ago by pval...(no longer on Chromium)
Modified:
7 years ago
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Allow customization of HttpPostProviderFactory via ProfileSyncService This change is being made so that Sync integration tests can eventually use an in-process, C++ fake server. BUG=323265 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239636

Patch Set 1 : #

Total comments: 6

Patch Set 2 : add HttpPostProviderFactoryFactoryx #

Total comments: 4

Patch Set 3 : had to sync/rebase #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 1

Patch Set 7 : rebase before rename #

Patch Set 8 : rename of HttpPostProviderFactoryFactory to NetworkResources #

Patch Set 9 : rebase #

Patch Set 10 : fix clang compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -24 lines) Patch
chrome/browser/sync/glue/sync_backend_host.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
chrome/browser/sync/glue/sync_backend_host_impl.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
chrome/browser/sync/glue/sync_backend_host_impl.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -6 lines 0 comments Download
chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 4 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
A sync/internal_api/http_bridge_network_resources.cc View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
M sync/internal_api/public/http_bridge.h View 1 2 3 4 3 chunks +1 line, -10 lines 0 comments Download
A sync/internal_api/public/http_bridge_network_resources.h View 1 2 3 4 5 6 7 8 9 1 chunk +35 lines, -0 lines 0 comments Download
A sync/internal_api/public/network_resources.h View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
A sync/internal_api/public/network_time_update_callback.h View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M sync/sync_internal_api.gypi View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
pval...(no longer on Chromium)
I think this is almost 100% ready. Some points to discuss: 1) I think we ...
7 years, 1 month ago (2013-11-19 05:20:49 UTC) #1
rlarocque
On 2013/11/19 05:20:49, pvalenzuela wrote: > I think this is almost 100% ready. Some points ...
7 years, 1 month ago (2013-11-19 18:41:43 UTC) #2
rlarocque
https://codereview.chromium.org/73723006/diff/200001/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc File chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc (right): https://codereview.chromium.org/73723006/diff/200001/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc#newcode199 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc:199: scoped_ptr<syncer::HttpPostProviderFactory>( nit: Are you sure you want to use ...
7 years, 1 month ago (2013-11-19 18:41:58 UTC) #3
tim (not reviewing)
https://codereview.chromium.org/73723006/diff/200001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): https://codereview.chromium.org/73723006/diff/200001/chrome/browser/sync/profile_sync_service.h#newcode1022 chrome/browser/sync/profile_sync_service.h:1022: scoped_ptr<syncer::HttpPostProviderFactory> http_post_provider_factory_; On 2013/11/19 18:41:58, rlarocque wrote: > I'm ...
7 years, 1 month ago (2013-11-19 20:29:26 UTC) #4
pval...(no longer on Chromium)
a related question: Why is HttpBridge not called HttpPostProvider (or HttpPostProviderImpl)? It seems this code ...
7 years, 1 month ago (2013-11-21 01:32:49 UTC) #5
tim (not reviewing)
On 2013/11/21 01:32:49, pvalenzuela wrote: > a related question: Why is HttpBridge not called HttpPostProvider ...
7 years, 1 month ago (2013-11-21 18:15:10 UTC) #6
rlarocque
This looks better. I admit the FactoryFactory name looks a bit ugly, but at least ...
7 years, 1 month ago (2013-11-21 18:48:51 UTC) #7
pval...(no longer on Chromium)
On 2013/11/21 18:15:10, timsteele wrote: > On 2013/11/21 01:32:49, pvalenzuela wrote: > > a related ...
7 years, 1 month ago (2013-11-22 02:11:38 UTC) #8
pval...(no longer on Chromium)
Sorry about the mid-review rebase (I did some incorrect git commands that broke my client). ...
7 years, 1 month ago (2013-11-22 02:13:17 UTC) #9
rlarocque
Could you add a BUG= line to the CL description? https://codereview.chromium.org/73723006/diff/680001/chrome/browser/sync/glue/sync_backend_host_impl.cc File chrome/browser/sync/glue/sync_backend_host_impl.cc (right): https://codereview.chromium.org/73723006/diff/680001/chrome/browser/sync/glue/sync_backend_host_impl.cc#newcode112 ...
7 years, 1 month ago (2013-11-22 18:30:56 UTC) #10
pval...(no longer on Chromium)
bug line added (there's no bug for this. should we make one?) https://codereview.chromium.org/73723006/diff/680001/chrome/browser/sync/glue/sync_backend_host_impl.cc File chrome/browser/sync/glue/sync_backend_host_impl.cc ...
7 years, 1 month ago (2013-11-23 02:28:39 UTC) #11
rlarocque
On 2013/11/23 02:28:39, pvalenzuela wrote: > bug line added (there's no bug for this. should ...
7 years, 1 month ago (2013-11-23 02:43:06 UTC) #12
rlarocque
One last comment. I forgot to publish this one. https://codereview.chromium.org/73723006/diff/750001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): https://codereview.chromium.org/73723006/diff/750001/chrome/browser/sync/profile_sync_service.h#newcode706 chrome/browser/sync/profile_sync_service.h:706: ...
7 years, 1 month ago (2013-11-23 02:44:00 UTC) #13
pval...(no longer on Chromium)
https://codereview.chromium.org/73723006/diff/750001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): https://codereview.chromium.org/73723006/diff/750001/chrome/browser/sync/profile_sync_service.h#newcode706 chrome/browser/sync/profile_sync_service.h:706: syncer::HttpPostProviderFactoryFactory* On 2013/11/23 02:44:01, rlarocque wrote: > nit: We ...
7 years ago (2013-11-25 21:30:09 UTC) #14
rlarocque
LGTM.
7 years ago (2013-11-25 21:40:32 UTC) #15
pval...(no longer on Chromium)
There were some offline discussions today about the correct name for HttpPostProviderFactoryFactory and its associated ...
7 years ago (2013-11-26 00:54:52 UTC) #16
tim (not reviewing)
On 2013/11/26 00:54:52, pvalenzuela wrote: > There were some offline discussions today about the correct ...
7 years ago (2013-11-26 15:00:46 UTC) #17
tim (not reviewing)
On 2013/11/26 15:00:46, timsteele wrote: > On 2013/11/26 00:54:52, pvalenzuela wrote: > > There were ...
7 years ago (2013-11-26 17:27:08 UTC) #18
pval...(no longer on Chromium)
On 2013/11/26 17:27:08, timsteele wrote: > On 2013/11/26 15:00:46, timsteele wrote: > > On 2013/11/26 ...
7 years ago (2013-11-26 21:32:48 UTC) #19
pval...(no longer on Chromium)
My exploration of a shortcut method wasn't successful, so I've decided to proceed with this ...
7 years ago (2013-12-06 23:48:20 UTC) #20
rlarocque
On 2013/12/06 23:48:20, pvalenzuela wrote: > My exploration of a shortcut method wasn't successful, so ...
7 years ago (2013-12-07 01:02:11 UTC) #21
tim (not reviewing)
lgtm
7 years ago (2013-12-09 19:06:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pvalenzuela@chromium.org/73723006/1070001
7 years ago (2013-12-09 20:52:56 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pvalenzuela@chromium.org/73723006/1090001
7 years ago (2013-12-09 22:37:14 UTC) #24
commit-bot: I haz the power
7 years ago (2013-12-10 01:47:48 UTC) #25
Message was sent while issue was closed.
Change committed as 239636

Powered by Google App Engine
This is Rietveld 408576698