OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ |
6 #define SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "sync/base/sync_export.h" | 14 #include "sync/base/sync_export.h" |
14 #include "sync/engine/net/server_connection_manager.h" | 15 #include "sync/engine/net/server_connection_manager.h" |
15 | 16 |
16 namespace syncer { | 17 namespace syncer { |
17 | 18 |
18 class HttpPostProviderFactory; | 19 class HttpPostProviderFactory; |
19 class HttpPostProviderInterface; | 20 class HttpPostProviderInterface; |
20 | 21 |
21 // This provides HTTP Post functionality through the interface provided | 22 // This provides HTTP Post functionality through the interface provided |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // A factory creating concrete HttpPostProviders for use whenever we need to | 71 // A factory creating concrete HttpPostProviders for use whenever we need to |
71 // issue a POST to sync servers. | 72 // issue a POST to sync servers. |
72 scoped_ptr<HttpPostProviderFactory> post_provider_factory_; | 73 scoped_ptr<HttpPostProviderFactory> post_provider_factory_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager); | 75 DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager); |
75 }; | 76 }; |
76 | 77 |
77 } // namespace syncer | 78 } // namespace syncer |
78 | 79 |
79 #endif // SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ | 80 #endif // SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ |
OLD | NEW |