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

Side by Side Diff: sync/internal_api/http_bridge_factory_factory.cc

Issue 73723006: Allow customization of HttpPostProviderFactory via ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "sync/internal_api/public/http_bridge_factory_factory.h"
6
7 #include "net/url_request/url_request_context_getter.h"
8 #include "sync/internal_api/public/http_bridge.h"
9 #include "sync/internal_api/public/http_post_provider_factory.h"
10 #include "sync/internal_api/public/network_time_update_callback.h"
11
12 namespace syncer {
13
14 HttpBridgeFactoryFactory::~HttpBridgeFactoryFactory() {}
15
16 HttpPostProviderFactory* HttpBridgeFactoryFactory::Create(
17 net::URLRequestContextGetter* baseline_context_getter,
18 const NetworkTimeUpdateCallback& network_time_update_callback) {
19 return new HttpBridgeFactory(baseline_context_getter,
20 network_time_update_callback);
21 }
22
23 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698