| 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 "chrome/browser/autofill/autocomplete_history_manager.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 12 #include "chrome/browser/autofill/autofill_external_delegate.h" | 12 #include "chrome/browser/autofill/autofill_external_delegate.h" |
| 13 #include "chrome/browser/autofill/credit_card.h" | 13 #include "chrome/browser/autofill/credit_card.h" |
| 14 #include "chrome/browser/prefs/pref_service.h" | |
| 15 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 16 #include "chrome/browser/webdata/web_data_service_factory.h" | 15 #include "chrome/browser/webdata/web_data_service_factory.h" |
| 17 #include "chrome/common/autofill_messages.h" | 16 #include "chrome/common/autofill_messages.h" |
| 18 #include "chrome/common/pref_names.h" | 17 #include "chrome/common/pref_names.h" |
| 19 #include "content/public/browser/render_view_host.h" | 18 #include "content/public/browser/render_view_host.h" |
| 20 #include "content/public/browser/web_contents.h" | 19 #include "content/public/browser/web_contents.h" |
| 21 #include "webkit/forms/form_data.h" | 20 #include "webkit/forms/form_data.h" |
| 22 | 21 |
| 23 using base::StringPiece16; | 22 using base::StringPiece16; |
| 24 using content::WebContents; | 23 using content::WebContents; |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 autofill_icons_, | 294 autofill_icons_, |
| 296 autofill_unique_ids_)); | 295 autofill_unique_ids_)); |
| 297 } | 296 } |
| 298 | 297 |
| 299 query_id_ = 0; | 298 query_id_ = 0; |
| 300 autofill_values_.clear(); | 299 autofill_values_.clear(); |
| 301 autofill_labels_.clear(); | 300 autofill_labels_.clear(); |
| 302 autofill_icons_.clear(); | 301 autofill_icons_.clear(); |
| 303 autofill_unique_ids_.clear(); | 302 autofill_unique_ids_.clear(); |
| 304 } | 303 } |
| OLD | NEW |