Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: components/autofill/core/browser/autocomplete_history_manager.cc

Issue 108283005: Moved ipc-specific files from autofill/core to autofill/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/autocomplete_history_manager.h" 5 #include "components/autofill/core/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/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "components/autofill/content/common/autofill_messages.h"
12 #include "components/autofill/core/browser/autofill_driver.h" 13 #include "components/autofill/core/browser/autofill_driver.h"
13 #include "components/autofill/core/browser/autofill_external_delegate.h" 14 #include "components/autofill/core/browser/autofill_external_delegate.h"
14 #include "components/autofill/core/browser/autofill_manager_delegate.h" 15 #include "components/autofill/core/browser/autofill_manager_delegate.h"
15 #include "components/autofill/core/browser/validation.h" 16 #include "components/autofill/core/browser/validation.h"
16 #include "components/autofill/core/common/autofill_messages.h"
17 #include "components/autofill/core/common/autofill_pref_names.h" 17 #include "components/autofill/core/common/autofill_pref_names.h"
18 #include "components/autofill/core/common/form_data.h" 18 #include "components/autofill/core/common/form_data.h"
19 19
20 namespace autofill { 20 namespace autofill {
21 namespace { 21 namespace {
22 22
23 // Limit on the number of suggestions to appear in the pop-up menu under an 23 // Limit on the number of suggestions to appear in the pop-up menu under an
24 // text input element in a form. 24 // text input element in a form.
25 const int kMaxAutocompleteMenuItems = 6; 25 const int kMaxAutocompleteMenuItems = 6;
26 26
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 autofill_unique_ids_); 188 autofill_unique_ids_);
189 189
190 query_id_ = 0; 190 query_id_ = 0;
191 autofill_values_.clear(); 191 autofill_values_.clear();
192 autofill_labels_.clear(); 192 autofill_labels_.clear();
193 autofill_icons_.clear(); 193 autofill_icons_.clear();
194 autofill_unique_ids_.clear(); 194 autofill_unique_ids_.clear();
195 } 195 }
196 196
197 } // namespace autofill 197 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698