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_GLUE_HTTP_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
17 #include "chrome/browser/sync/internal_api/http_post_provider_factory.h" | |
18 #include "chrome/browser/sync/internal_api/http_post_provider_interface.h" | |
19 #include "content/public/common/url_fetcher_delegate.h" | 17 #include "content/public/common/url_fetcher_delegate.h" |
20 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 19 #include "net/url_request/url_request_context.h" |
21 #include "net/url_request/url_request_context_getter.h" | 20 #include "net/url_request/url_request_context_getter.h" |
22 #include "net/url_request/url_request_context.h" | 21 #include "sync/internal_api/http_post_provider_factory.h" |
| 22 #include "sync/internal_api/http_post_provider_interface.h" |
23 | 23 |
24 class MessageLoop; | 24 class MessageLoop; |
25 class HttpBridgeTest; | 25 class HttpBridgeTest; |
26 | 26 |
27 namespace net { | 27 namespace net { |
28 class HttpResponseHeaders; | 28 class HttpResponseHeaders; |
29 } | 29 } |
30 | 30 |
31 namespace browser_sync { | 31 namespace browser_sync { |
32 | 32 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 HttpBridge::RequestContextGetter* GetRequestContextGetter(); | 225 HttpBridge::RequestContextGetter* GetRequestContextGetter(); |
226 | 226 |
227 scoped_refptr<HttpBridge::RequestContextGetter> request_context_getter_; | 227 scoped_refptr<HttpBridge::RequestContextGetter> request_context_getter_; |
228 | 228 |
229 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); | 229 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); |
230 }; | 230 }; |
231 | 231 |
232 } // namespace browser_sync | 232 } // namespace browser_sync |
233 | 233 |
234 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 234 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
OLD | NEW |