OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/core/browser/autofill_download_manager.h" | 5 #include "components/autofill/core/browser/autofill_download_manager.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
9 #include "base/rand_util.h" | 9 #include "base/rand_util.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "components/autofill/core/browser/autofill_driver.h" | 12 #include "components/autofill/core/browser/autofill_driver.h" |
13 #include "components/autofill/core/browser/autofill_metrics.h" | 13 #include "components/autofill/core/browser/autofill_metrics.h" |
14 #include "components/autofill/core/browser/autofill_xml_parser.h" | 14 #include "components/autofill/core/browser/autofill_xml_parser.h" |
15 #include "components/autofill/core/browser/form_structure.h" | 15 #include "components/autofill/core/browser/form_structure.h" |
16 #include "components/autofill/core/common/autofill_pref_names.h" | 16 #include "components/autofill/core/common/autofill_pref_names.h" |
17 #include "net/base/load_flags.h" | 17 #include "net/base/load_flags.h" |
18 #include "net/http/http_response_headers.h" | 18 #include "net/http/http_response_headers.h" |
19 #include "net/url_request/url_fetcher.h" | 19 #include "net/url_request/url_fetcher.h" |
20 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" | 20 #include "third_party/webrtc/libjingle/xmllite/xmlparser.h" |
21 #include "url/gurl.h" | 21 #include "url/gurl.h" |
22 | 22 |
23 namespace autofill { | 23 namespace autofill { |
24 | 24 |
25 namespace { | 25 namespace { |
26 | 26 |
27 const char kAutofillQueryServerNameStartInHeader[] = "GFE/"; | 27 const char kAutofillQueryServerNameStartInHeader[] = "GFE/"; |
28 const size_t kMaxFormCacheSize = 16; | 28 const size_t kMaxFormCacheSize = 16; |
29 | 29 |
30 #if defined(GOOGLE_CHROME_BUILD) | 30 #if defined(GOOGLE_CHROME_BUILD) |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 } | 321 } |
322 | 322 |
323 observer_->OnUploadedPossibleFieldTypes(); | 323 observer_->OnUploadedPossibleFieldTypes(); |
324 } | 324 } |
325 } | 325 } |
326 delete it->first; | 326 delete it->first; |
327 url_fetchers_.erase(it); | 327 url_fetchers_.erase(it); |
328 } | 328 } |
329 | 329 |
330 } // namespace autofill | 330 } // namespace autofill |
OLD | NEW |