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 "components/autofill/browser/autofill_download.h" | 5 #include "components/autofill/core/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/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
16 #include "components/autofill/browser/autofill_download_url.h" | 16 #include "components/autofill/core/browser/autofill_download_url.h" |
17 #include "components/autofill/browser/autofill_metrics.h" | 17 #include "components/autofill/core/browser/autofill_metrics.h" |
18 #include "components/autofill/browser/autofill_xml_parser.h" | 18 #include "components/autofill/core/browser/autofill_xml_parser.h" |
19 #include "components/autofill/browser/form_structure.h" | 19 #include "components/autofill/core/browser/form_structure.h" |
20 #include "components/autofill/core/common/autofill_pref_names.h" | 20 #include "components/autofill/core/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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 } | 343 } |
344 | 344 |
345 observer_->OnUploadedPossibleFieldTypes(); | 345 observer_->OnUploadedPossibleFieldTypes(); |
346 } | 346 } |
347 } | 347 } |
348 delete it->first; | 348 delete it->first; |
349 url_fetchers_.erase(it); | 349 url_fetchers_.erase(it); |
350 } | 350 } |
351 | 351 |
352 } // namespace autofill | 352 } // namespace autofill |
OLD | NEW |