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

Side by Side Diff: chrome/browser/autofill/autofill_manager.cc

Issue 6598084: Get rid of temporary render_view_host.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/autofill_manager.h" 5 #include "chrome/browser/autofill/autofill_manager.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "chrome/browser/autocomplete_history_manager.h" 16 #include "chrome/browser/autocomplete_history_manager.h"
17 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" 17 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h"
18 #include "chrome/browser/autofill/autofill_dialog.h" 18 #include "chrome/browser/autofill/autofill_dialog.h"
19 #include "chrome/browser/autofill/autofill_metrics.h" 19 #include "chrome/browser/autofill/autofill_metrics.h"
20 #include "chrome/browser/autofill/form_structure.h" 20 #include "chrome/browser/autofill/form_structure.h"
21 #include "chrome/browser/autofill/phone_number.h" 21 #include "chrome/browser/autofill/phone_number.h"
22 #include "chrome/browser/autofill/select_control_handler.h" 22 #include "chrome/browser/autofill/select_control_handler.h"
23 #include "chrome/browser/prefs/pref_service.h" 23 #include "chrome/browser/prefs/pref_service.h"
24 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/renderer_host/render_view_host.h"
26 #include "chrome/browser/tab_contents/tab_contents.h"
27 #include "chrome/browser/ui/browser_list.h" 25 #include "chrome/browser/ui/browser_list.h"
28 #include "chrome/common/autofill_messages.h" 26 #include "chrome/common/autofill_messages.h"
29 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
30 #include "chrome/common/guid.h" 28 #include "chrome/common/guid.h"
31 #include "chrome/common/notification_details.h" 29 #include "chrome/common/notification_details.h"
32 #include "chrome/common/notification_service.h" 30 #include "chrome/common/notification_service.h"
33 #include "chrome/common/notification_type.h" 31 #include "chrome/common/notification_type.h"
34 #include "chrome/common/pref_names.h" 32 #include "chrome/common/pref_names.h"
35 #include "chrome/common/url_constants.h" 33 #include "chrome/common/url_constants.h"
34 #include "content/browser/renderer_host/render_view_host.h"
35 #include "content/browser/tab_contents/tab_contents.h"
36 #include "grit/generated_resources.h" 36 #include "grit/generated_resources.h"
37 #include "ui/base/l10n/l10n_util.h" 37 #include "ui/base/l10n/l10n_util.h"
38 #include "webkit/glue/form_data.h" 38 #include "webkit/glue/form_data.h"
39 #include "webkit/glue/form_field.h" 39 #include "webkit/glue/form_field.h"
40 40
41 using webkit_glue::FormData; 41 using webkit_glue::FormData;
42 using webkit_glue::FormField; 42 using webkit_glue::FormField;
43 43
44 namespace { 44 namespace {
45 45
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 return std::string(); 1011 return std::string();
1012 1012
1013 std::map<int, std::string>::const_iterator iter = id_guid_map_.find(id); 1013 std::map<int, std::string>::const_iterator iter = id_guid_map_.find(id);
1014 if (iter == id_guid_map_.end()) { 1014 if (iter == id_guid_map_.end()) {
1015 NOTREACHED(); 1015 NOTREACHED();
1016 return std::string(); 1016 return std::string();
1017 } 1017 }
1018 1018
1019 return iter->second; 1019 return iter->second;
1020 } 1020 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete_history_manager.cc ('k') | chrome/browser/automation/automation_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698