| 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 #include "chrome/browser/autofill/autofill_download.h" | 5 #include "components/autofill/browser/autofill_download.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <ostream> | 8 #include <ostream> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
| 13 #include "base/rand_util.h" | 13 #include "base/rand_util.h" |
| 14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 16 #include "chrome/browser/autofill/autofill_download_url.h" | 16 #include "components/autofill/browser/autofill_download_url.h" |
| 17 #include "chrome/browser/autofill/autofill_metrics.h" | 17 #include "components/autofill/browser/autofill_metrics.h" |
| 18 #include "chrome/browser/autofill/autofill_xml_parser.h" | 18 #include "components/autofill/browser/autofill_xml_parser.h" |
| 19 #include "chrome/browser/autofill/form_structure.h" | 19 #include "components/autofill/browser/form_structure.h" |
| 20 #include "components/autofill/common/autofill_pref_names.h" | 20 #include "components/autofill/common/autofill_pref_names.h" |
| 21 #include "components/user_prefs/user_prefs.h" | 21 #include "components/user_prefs/user_prefs.h" |
| 22 #include "content/public/browser/browser_context.h" | 22 #include "content/public/browser/browser_context.h" |
| 23 #include "googleurl/src/gurl.h" | 23 #include "googleurl/src/gurl.h" |
| 24 #include "net/base/load_flags.h" | 24 #include "net/base/load_flags.h" |
| 25 #include "net/http/http_response_headers.h" | 25 #include "net/http/http_response_headers.h" |
| 26 #include "net/url_request/url_fetcher.h" | 26 #include "net/url_request/url_fetcher.h" |
| 27 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" | 27 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" |
| 28 | 28 |
| 29 using content::BrowserContext; | 29 using content::BrowserContext; |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 SetPositiveUploadRate(new_positive_upload_rate); | 331 SetPositiveUploadRate(new_positive_upload_rate); |
| 332 SetNegativeUploadRate(new_negative_upload_rate); | 332 SetNegativeUploadRate(new_negative_upload_rate); |
| 333 } | 333 } |
| 334 | 334 |
| 335 observer_->OnUploadedPossibleFieldTypes(); | 335 observer_->OnUploadedPossibleFieldTypes(); |
| 336 } | 336 } |
| 337 } | 337 } |
| 338 delete it->first; | 338 delete it->first; |
| 339 url_fetchers_.erase(it); | 339 url_fetchers_.erase(it); |
| 340 } | 340 } |
| OLD | NEW |