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

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

Issue 71683003: Have AutofillManagerDelegate supply the AutofillWebDataService to core code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 7 years, 1 month 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/autofill_manager.h" 5 #include "components/autofill/core/browser/autofill_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <map> 10 #include <map>
(...skipping 25 matching lines...) Expand all
36 #include "components/autofill/core/browser/phone_number.h" 36 #include "components/autofill/core/browser/phone_number.h"
37 #include "components/autofill/core/browser/phone_number_i18n.h" 37 #include "components/autofill/core/browser/phone_number_i18n.h"
38 #include "components/autofill/core/common/autofill_messages.h" 38 #include "components/autofill/core/common/autofill_messages.h"
39 #include "components/autofill/core/common/autofill_pref_names.h" 39 #include "components/autofill/core/common/autofill_pref_names.h"
40 #include "components/autofill/core/common/autofill_switches.h" 40 #include "components/autofill/core/common/autofill_switches.h"
41 #include "components/autofill/core/common/form_data.h" 41 #include "components/autofill/core/common/form_data.h"
42 #include "components/autofill/core/common/form_data_predictions.h" 42 #include "components/autofill/core/common/form_data_predictions.h"
43 #include "components/autofill/core/common/form_field_data.h" 43 #include "components/autofill/core/common/form_field_data.h"
44 #include "components/autofill/core/common/password_form_fill_data.h" 44 #include "components/autofill/core/common/password_form_fill_data.h"
45 #include "components/user_prefs/pref_registry_syncable.h" 45 #include "components/user_prefs/pref_registry_syncable.h"
46 #include "content/public/browser/browser_context.h"
47 #include "content/public/browser/render_view_host.h" 46 #include "content/public/browser/render_view_host.h"
48 #include "content/public/browser/web_contents.h" 47 #include "content/public/browser/web_contents.h"
49 #include "grit/component_strings.h" 48 #include "grit/component_strings.h"
50 #include "third_party/WebKit/public/web/WebAutofillClient.h" 49 #include "third_party/WebKit/public/web/WebAutofillClient.h"
51 #include "ui/base/l10n/l10n_util.h" 50 #include "ui/base/l10n/l10n_util.h"
52 #include "ui/gfx/rect.h" 51 #include "ui/gfx/rect.h"
53 #include "url/gurl.h" 52 #include "url/gurl.h"
54 53
55 namespace autofill { 54 namespace autofill {
56 55
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 return false; 1161 return false;
1163 1162
1164 // Disregard forms that we wouldn't ever autofill in the first place. 1163 // Disregard forms that we wouldn't ever autofill in the first place.
1165 if (!form.ShouldBeParsed(true)) 1164 if (!form.ShouldBeParsed(true))
1166 return false; 1165 return false;
1167 1166
1168 return true; 1167 return true;
1169 } 1168 }
1170 1169
1171 } // namespace autofill 1170 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698