| 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 COMPONENTS_SYNC_CORE_HTTP_POST_PROVIDER_FACTORY_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_NET_HTTP_POST_PROVIDER_FACTORY_H_ |
| 6 #define COMPONENTS_SYNC_CORE_HTTP_POST_PROVIDER_FACTORY_H_ | 6 #define COMPONENTS_SYNC_ENGINE_NET_HTTP_POST_PROVIDER_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 class URLFetcher; | 13 class URLFetcher; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace syncer { | 16 namespace syncer { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 // When the interface is no longer needed (ready to be cleaned up), clients | 36 // When the interface is no longer needed (ready to be cleaned up), clients |
| 37 // must call Destroy(). | 37 // must call Destroy(). |
| 38 // This allows actual HttpPostProvider subclass implementations to be | 38 // This allows actual HttpPostProvider subclass implementations to be |
| 39 // reference counted, which is useful if a particular implementation uses | 39 // reference counted, which is useful if a particular implementation uses |
| 40 // multiple threads to serve network requests. | 40 // multiple threads to serve network requests. |
| 41 virtual void Destroy(HttpPostProviderInterface* http) = 0; | 41 virtual void Destroy(HttpPostProviderInterface* http) = 0; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace syncer | 44 } // namespace syncer |
| 45 | 45 |
| 46 #endif // COMPONENTS_SYNC_CORE_HTTP_POST_PROVIDER_FACTORY_H_ | 46 #endif // COMPONENTS_SYNC_ENGINE_NET_HTTP_POST_PROVIDER_FACTORY_H_ |
| OLD | NEW |