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 #include "sync/internal_api/public/http_bridge.h" | 5 #include "sync/internal_api/public/http_bridge.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "net/base/host_resolver.h" | |
11 #include "net/base/load_flags.h" | 10 #include "net/base/load_flags.h" |
12 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" |
13 #include "net/cookies/cookie_monster.h" | 12 #include "net/cookies/cookie_monster.h" |
| 13 #include "net/dns/host_resolver.h" |
14 #include "net/http/http_cache.h" | 14 #include "net/http/http_cache.h" |
15 #include "net/http/http_network_layer.h" | 15 #include "net/http/http_network_layer.h" |
16 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
17 #include "net/proxy/proxy_service.h" | 17 #include "net/proxy/proxy_service.h" |
18 #include "net/url_request/static_http_user_agent_settings.h" | 18 #include "net/url_request/static_http_user_agent_settings.h" |
19 #include "net/url_request/url_fetcher.h" | 19 #include "net/url_request/url_fetcher.h" |
20 #include "net/url_request/url_request_context.h" | 20 #include "net/url_request/url_request_context.h" |
21 #include "net/url_request/url_request_status.h" | 21 #include "net/url_request/url_request_status.h" |
22 | 22 |
23 namespace syncer { | 23 namespace syncer { |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 // WARNING: DONT DO ANYTHING AFTER THIS CALL! |this| may be deleted! | 310 // WARNING: DONT DO ANYTHING AFTER THIS CALL! |this| may be deleted! |
311 http_post_completed_.Signal(); | 311 http_post_completed_.Signal(); |
312 } | 312 } |
313 | 313 |
314 net::URLRequestContextGetter* HttpBridge::GetRequestContextGetterForTest() | 314 net::URLRequestContextGetter* HttpBridge::GetRequestContextGetterForTest() |
315 const { | 315 const { |
316 return context_getter_for_request_; | 316 return context_getter_for_request_; |
317 } | 317 } |
318 | 318 |
319 } // namespace syncer | 319 } // namespace syncer |
OLD | NEW |