OLD | NEW |
1 // Copyright (c) 2012 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_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "sync/internal_api/public/http_post_provider_factory.h" | 9 #include "sync/internal_api/public/http_post_provider_factory.h" |
11 #include "sync/internal_api/public/http_post_provider_interface.h" | 10 #include "sync/internal_api/public/http_post_provider_interface.h" |
12 | 11 |
13 namespace browser_sync { | 12 namespace browser_sync { |
14 | 13 |
15 class TestHttpBridge : public syncer::HttpPostProviderInterface { | 14 class TestHttpBridge : public syncer::HttpPostProviderInterface { |
16 public: | 15 public: |
17 // Begin syncer::HttpPostProviderInterface implementation: | 16 // Begin syncer::HttpPostProviderInterface implementation: |
(...skipping 25 matching lines...) Expand all Loading... |
43 virtual ~TestHttpBridgeFactory(); | 42 virtual ~TestHttpBridgeFactory(); |
44 | 43 |
45 // syncer::HttpPostProviderFactory: | 44 // syncer::HttpPostProviderFactory: |
46 virtual syncer::HttpPostProviderInterface* Create() OVERRIDE; | 45 virtual syncer::HttpPostProviderInterface* Create() OVERRIDE; |
47 virtual void Destroy(syncer::HttpPostProviderInterface* http) OVERRIDE; | 46 virtual void Destroy(syncer::HttpPostProviderInterface* http) OVERRIDE; |
48 }; | 47 }; |
49 | 48 |
50 } // namespace browser_sync | 49 } // namespace browser_sync |
51 | 50 |
52 #endif // CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ | 51 #endif // CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ |
OLD | NEW |