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_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/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
15 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
16 #include "chrome/browser/sync/internal_api/http_post_provider_factory.h" | 17 #include "chrome/browser/sync/internal_api/http_post_provider_factory.h" |
17 #include "chrome/browser/sync/internal_api/http_post_provider_interface.h" | 18 #include "chrome/browser/sync/internal_api/http_post_provider_interface.h" |
18 #include "content/public/common/url_fetcher_delegate.h" | 19 #include "content/public/common/url_fetcher_delegate.h" |
19 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
20 #include "net/url_request/url_request_context_getter.h" | 21 #include "net/url_request/url_request_context_getter.h" |
21 #include "net/url_request/url_request_context.h" | 22 #include "net/url_request/url_request_context.h" |
22 #include "testing/gtest/include/gtest/gtest_prod.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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 HttpBridge::RequestContextGetter* GetRequestContextGetter(); | 218 HttpBridge::RequestContextGetter* GetRequestContextGetter(); |
219 | 219 |
220 scoped_refptr<HttpBridge::RequestContextGetter> request_context_getter_; | 220 scoped_refptr<HttpBridge::RequestContextGetter> request_context_getter_; |
221 | 221 |
222 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); | 222 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); |
223 }; | 223 }; |
224 | 224 |
225 } // namespace browser_sync | 225 } // namespace browser_sync |
226 | 226 |
227 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 227 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
OLD | NEW |