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 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ | 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/sync/engine/net/server_connection_manager.h" | 14 #include "chrome/browser/sync/engine/net/server_connection_manager.h" |
14 | 15 |
15 namespace sync_api { | 16 namespace sync_api { |
16 | 17 |
17 class HttpPostProviderFactory; | 18 class HttpPostProviderFactory; |
18 class HttpPostProviderInterface; | 19 class HttpPostProviderInterface; |
19 | 20 |
20 // This provides HTTP Post functionality through the interface provided | 21 // This provides HTTP Post functionality through the interface provided |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // A factory creating concrete HttpPostProviders for use whenever we need to | 69 // A factory creating concrete HttpPostProviders for use whenever we need to |
69 // issue a POST to sync servers. | 70 // issue a POST to sync servers. |
70 scoped_ptr<HttpPostProviderFactory> post_provider_factory_; | 71 scoped_ptr<HttpPostProviderFactory> post_provider_factory_; |
71 | 72 |
72 DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager); | 73 DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager); |
73 }; | 74 }; |
74 | 75 |
75 } // namespace sync_api | 76 } // namespace sync_api |
76 | 77 |
77 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ | 78 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_ |
OLD | NEW |