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

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

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win update errors Created 8 years, 8 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/internal_api/syncapi_server_connection_manager.h" 5 #include "sync/internal_api/syncapi_server_connection_manager.h"
6 6
7 #include "chrome/browser/sync/internal_api/http_post_provider_factory.h"
8 #include "chrome/browser/sync/internal_api/http_post_provider_interface.h"
9 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
10 #include "net/http/http_status_code.h" 8 #include "net/http/http_status_code.h"
9 #include "sync/internal_api/http_post_provider_factory.h"
10 #include "sync/internal_api/http_post_provider_interface.h"
11 11
12 using browser_sync::HttpResponse; 12 using browser_sync::HttpResponse;
13 13
14 namespace sync_api { 14 namespace sync_api {
15 15
16 SyncAPIBridgedConnection::SyncAPIBridgedConnection( 16 SyncAPIBridgedConnection::SyncAPIBridgedConnection(
17 browser_sync::ServerConnectionManager* scm, 17 browser_sync::ServerConnectionManager* scm,
18 HttpPostProviderFactory* factory) 18 HttpPostProviderFactory* factory)
19 : Connection(scm), factory_(factory) { 19 : Connection(scm), factory_(factory) {
20 post_provider_ = factory_->Create(); 20 post_provider_ = factory_->Create();
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 98 }
99 99
100 SyncAPIServerConnectionManager::~SyncAPIServerConnectionManager() {} 100 SyncAPIServerConnectionManager::~SyncAPIServerConnectionManager() {}
101 101
102 browser_sync::ServerConnectionManager::Connection* 102 browser_sync::ServerConnectionManager::Connection*
103 SyncAPIServerConnectionManager::MakeConnection() { 103 SyncAPIServerConnectionManager::MakeConnection() {
104 return new SyncAPIBridgedConnection(this, post_provider_factory_.get()); 104 return new SyncAPIBridgedConnection(this, post_provider_factory_.get());
105 } 105 }
106 106
107 } // namespace sync_api 107 } // namespace sync_api
OLDNEW
« no previous file with comments | « sync/internal_api/syncapi_server_connection_manager.h ('k') | sync/internal_api/syncapi_server_connection_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698