Index: chrome/renderer/autofill/autofill_agent.h |
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h |
index b2693005b0785410e59eb0e6a552a7604e1a9991..c49c1d25dedcec6dc7a22cce8a15b4801c235bea 100644 |
--- a/chrome/renderer/autofill/autofill_agent.h |
+++ b/chrome/renderer/autofill/autofill_agent.h |
@@ -17,12 +17,13 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" |
-namespace webkit { |
-namespace forms { |
-struct FormData; |
+namespace chrome { |
struct FormDataPredictions; |
-struct FormField; |
} |
+ |
+namespace content { |
+struct FormData; |
+struct FormField; |
} |
namespace WebKit { |
@@ -100,9 +101,9 @@ class AutofillAgent : public content::RenderViewObserver, |
const std::vector<string16>& labels, |
const std::vector<string16>& icons, |
const std::vector<int>& unique_ids); |
- void OnFormDataFilled(int query_id, const webkit::forms::FormData& form); |
+ void OnFormDataFilled(int query_id, const content::FormData& form); |
void OnFieldTypePredictionsAvailable( |
- const std::vector<webkit::forms::FormDataPredictions>& forms); |
+ const std::vector<chrome::FormDataPredictions>& forms); |
// For external Autofill selection. |
void OnSelectAutofillSuggestionAtIndex(int listIndex); |
@@ -163,8 +164,8 @@ class AutofillAgent : public content::RenderViewObserver, |
// |node|. Returns true if the data was found; and false otherwise. |
bool FindFormAndFieldForNode( |
const WebKit::WebNode& node, |
- webkit::forms::FormData* form, |
- webkit::forms::FormField* field) WARN_UNUSED_RESULT; |
+ content::FormData* form, |
+ content::FormField* field) WARN_UNUSED_RESULT; |
// Set |node| to display the given |value|. |
void SetNodeText(const string16& value, WebKit::WebInputElement* node); |