| OLD | NEW | 
|   1 // Copyright (c) 2011 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 #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/compiler_specific.h" | 
|  12 #include "base/gtest_prod_util.h" |  12 #include "base/gtest_prod_util.h" | 
|  13 #include "base/memory/scoped_ptr.h" |  13 #include "base/memory/scoped_ptr.h" | 
|  14 #include "chrome/browser/sync/engine/net/server_connection_manager.h" |  14 #include "sync/engine/net/server_connection_manager.h" | 
|  15  |  15  | 
|  16 namespace sync_api { |  16 namespace sync_api { | 
|  17  |  17  | 
|  18 class HttpPostProviderFactory; |  18 class HttpPostProviderFactory; | 
|  19 class HttpPostProviderInterface; |  19 class HttpPostProviderInterface; | 
|  20  |  20  | 
|  21 // This provides HTTP Post functionality through the interface provided |  21 // This provides HTTP Post functionality through the interface provided | 
|  22 // to the sync API by the application hosting the syncer backend. |  22 // to the sync API by the application hosting the syncer backend. | 
|  23 class SyncAPIBridgedConnection |  23 class SyncAPIBridgedConnection | 
|  24     : public browser_sync::ServerConnectionManager::Connection { |  24     : public browser_sync::ServerConnectionManager::Connection { | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  69   // A factory creating concrete HttpPostProviders for use whenever we need to |  69   // A factory creating concrete HttpPostProviders for use whenever we need to | 
|  70   // issue a POST to sync servers. |  70   // issue a POST to sync servers. | 
|  71   scoped_ptr<HttpPostProviderFactory> post_provider_factory_; |  71   scoped_ptr<HttpPostProviderFactory> post_provider_factory_; | 
|  72  |  72  | 
|  73   DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager); |  73   DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager); | 
|  74 }; |  74 }; | 
|  75  |  75  | 
|  76 }  // namespace sync_api |  76 }  // namespace sync_api | 
|  77  |  77  | 
|  78 #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 |