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

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

Issue 17382007: Move IPC reception handling from AutofillManager to AutofillDriverImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase after conflict Created 7 years, 6 months 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 | Annotate | Revision Log
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/core/browser/autofill_driver.h" 12 #include "components/autofill/core/browser/autofill_driver.h"
13 #include "components/autofill/core/browser/autofill_external_delegate.h" 13 #include "components/autofill/core/browser/autofill_external_delegate.h"
14 #include "components/autofill/core/browser/validation.h" 14 #include "components/autofill/core/browser/validation.h"
15 #include "components/autofill/core/common/autofill_messages.h" 15 #include "components/autofill/core/common/autofill_messages.h"
16 #include "components/autofill/core/common/autofill_pref_names.h" 16 #include "components/autofill/core/common/autofill_pref_names.h"
17 #include "components/autofill/core/common/form_data.h" 17 #include "components/autofill/core/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 #include "ipc/ipc_message_macros.h"
23 22
24 using content::BrowserContext; 23 using content::BrowserContext;
25 using content::WebContents; 24 using content::WebContents;
26 25
27 namespace autofill { 26 namespace autofill {
28 namespace { 27 namespace {
29 28
30 // Limit on the number of suggestions to appear in the pop-up menu under an 29 // Limit on the number of suggestions to appear in the pop-up menu under an
31 // text input element in a form. 30 // text input element in a form.
32 const int kMaxAutocompleteMenuItems = 6; 31 const int kMaxAutocompleteMenuItems = 6;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 210 }
212 211
213 query_id_ = 0; 212 query_id_ = 0;
214 autofill_values_.clear(); 213 autofill_values_.clear();
215 autofill_labels_.clear(); 214 autofill_labels_.clear();
216 autofill_icons_.clear(); 215 autofill_icons_.clear();
217 autofill_unique_ids_.clear(); 216 autofill_unique_ids_.clear();
218 } 217 }
219 218
220 } // namespace autofill 219 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/browser/autofill_driver_impl.cc ('k') | components/autofill/core/browser/autofill_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698