OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/browser/url_fetcher.h" | 5 #include "chrome/browser/net/url_fetcher.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/thread.h" | 9 #include "base/thread.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
11 #include "chrome/browser/chrome_thread.h" | 11 #include "chrome/browser/chrome_thread.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 #include "net/base/load_flags.h" | 13 #include "net/base/load_flags.h" |
14 | 14 |
15 URLFetcher::URLFetcher(const GURL& url, | 15 URLFetcher::URLFetcher(const GURL& url, |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 cookies_, data_); | 173 cookies_, data_); |
174 } | 174 } |
175 } | 175 } |
176 } else { | 176 } else { |
177 protect_entry_->UpdateBackoff(URLFetcherProtectEntry::SUCCESS); | 177 protect_entry_->UpdateBackoff(URLFetcherProtectEntry::SUCCESS); |
178 if (delegate_) | 178 if (delegate_) |
179 delegate_->OnURLFetchComplete(fetcher_, url_, status, response_code_, | 179 delegate_->OnURLFetchComplete(fetcher_, url_, status, response_code_, |
180 cookies_, data_); | 180 cookies_, data_); |
181 } | 181 } |
182 } | 182 } |
OLD | NEW |