summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 17:34:39 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 17:34:39 +0000
commit0a0554502c87277323e1438a6ab5b50acb9aab46 (patch)
tree885e2fdc2c97b972b4683469e49e4a0cdc7a5c43 /chrome/browser/renderer_host/render_view_host.h
parent308b6a1e93de0916f775c44818704717a00fcf70 (diff)
downloadchromium_src-0a0554502c87277323e1438a6ab5b50acb9aab46.zip
chromium_src-0a0554502c87277323e1438a6ab5b50acb9aab46.tar.gz
chromium_src-0a0554502c87277323e1438a6ab5b50acb9aab46.tar.bz2
AutoFill: Use unique IDs to identify the profile or credit card to fill.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3019001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.h')
-rw-r--r--chrome/browser/renderer_host/render_view_host.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
index aa66275..2021cfb 100644
--- a/chrome/browser/renderer_host/render_view_host.h
+++ b/chrome/browser/renderer_host/render_view_host.h
@@ -388,7 +388,8 @@ class RenderViewHost : public RenderWidgetHost {
void AutoFillSuggestionsReturned(
int query_id,
const std::vector<string16>& values,
- const std::vector<string16>& labels);
+ const std::vector<string16>& labels,
+ const std::vector<int>& unique_ids);
// Called by the AutocompleteHistoryManager when the list of suggestions is
// ready.
@@ -612,7 +613,8 @@ class RenderViewHost : public RenderWidgetHost {
void OnFillAutoFillFormData(int query_id,
const webkit_glue::FormData& form,
const string16& value,
- const string16& label);
+ const string16& label,
+ int unique_id);
void OnShowDesktopNotification(
const ViewHostMsg_ShowNotification_Params& params);
@@ -721,6 +723,7 @@ class RenderViewHost : public RenderWidgetHost {
int autofill_query_id_;
std::vector<string16> autofill_values_;
std::vector<string16> autofill_labels_;
+ std::vector<int> autofill_unique_ids_;
DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
};