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/autocomplete_history_manager.h" | 5 #include "components/autofill/browser/autocomplete_history_manager.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "chrome/browser/autofill/autofill_external_delegate.h" | 13 #include "components/autofill/browser/autofill_external_delegate.h" |
14 #include "chrome/browser/autofill/validation.h" | 14 #include "components/autofill/browser/validation.h" |
15 #include "components/autofill/common/autofill_messages.h" | 15 #include "components/autofill/common/autofill_messages.h" |
16 #include "components/autofill/common/autofill_pref_names.h" | 16 #include "components/autofill/common/autofill_pref_names.h" |
17 #include "components/autofill/common/form_data.h" | 17 #include "components/autofill/common/form_data.h" |
18 #include "components/user_prefs/user_prefs.h" | 18 #include "components/user_prefs/user_prefs.h" |
19 #include "content/public/browser/browser_context.h" | 19 #include "content/public/browser/browser_context.h" |
20 #include "content/public/browser/render_view_host.h" | 20 #include "content/public/browser/render_view_host.h" |
21 #include "content/public/browser/web_contents.h" | 21 #include "content/public/browser/web_contents.h" |
22 | 22 |
23 using base::StringPiece16; | 23 using base::StringPiece16; |
24 using content::BrowserContext; | 24 using content::BrowserContext; |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 autofill_icons_, | 280 autofill_icons_, |
281 autofill_unique_ids_)); | 281 autofill_unique_ids_)); |
282 } | 282 } |
283 | 283 |
284 query_id_ = 0; | 284 query_id_ = 0; |
285 autofill_values_.clear(); | 285 autofill_values_.clear(); |
286 autofill_labels_.clear(); | 286 autofill_labels_.clear(); |
287 autofill_icons_.clear(); | 287 autofill_icons_.clear(); |
288 autofill_unique_ids_.clear(); | 288 autofill_unique_ids_.clear(); |
289 } | 289 } |
OLD | NEW |