OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/net/url_fetcher.h" | 5 #include "chrome/common/net/url_fetcher.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
11 #include "base/lock.h" | |
12 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop_proxy.h" |
13 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
14 #include "base/stl_util-inl.h" | 13 #include "base/stl_util-inl.h" |
15 #include "base/string_util.h" | 14 #include "base/string_util.h" |
16 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
17 #include "chrome/common/net/url_request_context_getter.h" | 16 #include "chrome/common/net/url_request_context_getter.h" |
18 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
19 #include "net/base/load_flags.h" | 18 #include "net/base/load_flags.h" |
20 #include "net/base/io_buffer.h" | 19 #include "net/base/io_buffer.h" |
21 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 } | 519 } |
521 | 520 |
522 // static | 521 // static |
523 void URLFetcher::CancelAll() { | 522 void URLFetcher::CancelAll() { |
524 Core::CancelAll(); | 523 Core::CancelAll(); |
525 } | 524 } |
526 | 525 |
527 URLFetcher::Delegate* URLFetcher::delegate() const { | 526 URLFetcher::Delegate* URLFetcher::delegate() const { |
528 return core_->delegate(); | 527 return core_->delegate(); |
529 } | 528 } |
OLD | NEW |