| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/engine/net/syncapi_server_connection_manager.h" | 5 #include "chrome/browser/sync/engine/net/syncapi_server_connection_manager.h" |
| 6 | 6 |
| 7 #include "chrome/browser/sync/engine/http_post_provider_factory.h" | 7 #include "chrome/browser/sync/engine/http_post_provider_factory.h" |
| 8 #include "chrome/browser/sync/engine/http_post_provider_interface.h" | 8 #include "chrome/browser/sync/engine/http_post_provider_interface.h" |
| 9 #include "chrome/browser/sync/engine/syncapi.h" | |
| 10 #include "chrome/common/net/http_return.h" | 9 #include "chrome/common/net/http_return.h" |
| 11 | 10 |
| 12 using browser_sync::HttpResponse; | 11 using browser_sync::HttpResponse; |
| 13 | 12 |
| 14 namespace sync_api { | 13 namespace sync_api { |
| 15 | 14 |
| 16 SyncAPIBridgedPost::SyncAPIBridgedPost( | 15 SyncAPIBridgedPost::SyncAPIBridgedPost( |
| 17 browser_sync::ServerConnectionManager* scm, | 16 browser_sync::ServerConnectionManager* scm, |
| 18 HttpPostProviderFactory* factory) | 17 HttpPostProviderFactory* factory) |
| 19 : Post(scm), factory_(factory) { | 18 : Post(scm), factory_(factory) { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 } | 89 } |
| 91 | 90 |
| 92 SyncAPIServerConnectionManager::~SyncAPIServerConnectionManager() {} | 91 SyncAPIServerConnectionManager::~SyncAPIServerConnectionManager() {} |
| 93 | 92 |
| 94 browser_sync::ServerConnectionManager::Post* | 93 browser_sync::ServerConnectionManager::Post* |
| 95 SyncAPIServerConnectionManager::MakePost() { | 94 SyncAPIServerConnectionManager::MakePost() { |
| 96 return new SyncAPIBridgedPost(this, post_provider_factory_.get()); | 95 return new SyncAPIBridgedPost(this, post_provider_factory_.get()); |
| 97 } | 96 } |
| 98 | 97 |
| 99 } // namespace sync_api | 98 } // namespace sync_api |
| OLD | NEW |