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

Unified Diff: chrome/browser/autofill/autofill_external_delegate_unittest.cc

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/autofill_external_delegate.cc ('k') | chrome/browser/autofill/autofill_field.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_external_delegate_unittest.cc
diff --git a/chrome/browser/autofill/autofill_external_delegate_unittest.cc b/chrome/browser/autofill/autofill_external_delegate_unittest.cc
index 58451f7114378c539066c64c5c4fc4b3e89cf280..28053756f71579c328a5407360474422483d9af1 100644
--- a/chrome/browser/autofill/autofill_external_delegate_unittest.cc
+++ b/chrome/browser/autofill/autofill_external_delegate_unittest.cc
@@ -11,19 +11,17 @@
#include "chrome/browser/autofill/test_autofill_external_delegate.h"
#include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h"
#include "chrome/browser/ui/tab_contents/test_tab_contents.h"
+#include "chrome/common/form_data.h"
+#include "chrome/common/form_field_data.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h"
#include "ui/gfx/rect.h"
-#include "webkit/forms/form_data.h"
-#include "webkit/forms/form_field.h"
using content::BrowserThread;
using testing::_;
-using webkit::forms::FormData;
-using webkit::forms::FormField;
using WebKit::WebAutofillClient;
namespace {
@@ -49,8 +47,8 @@ class MockAutofillExternalDelegate : public TestAutofillExternalDelegate {
MOCK_METHOD4(OnQueryPlatformSpecific,
void(int query_id,
- const webkit::forms::FormData& form,
- const webkit::forms::FormField& field,
+ const FormData& form,
+ const FormFieldData& field,
const gfx::Rect& bounds));
MOCK_METHOD0(ClearPreviewedForm, void());
@@ -72,8 +70,8 @@ class MockAutofillManager : public AutofillManager {
MOCK_METHOD4(OnFillAutofillFormData,
void(int query_id,
- const webkit::forms::FormData& form,
- const webkit::forms::FormField& field,
+ const FormData& form,
+ const FormFieldData& field,
int unique_id));
protected:
@@ -103,7 +101,7 @@ class AutofillExternalDelegateUnitTest : public TabContentsTestHarness {
// execute it with the given QueryId.
void IssueOnQuery(int query_id) {
const FormData form;
- FormField field;
+ FormFieldData field;
field.is_focusable = true;
field.should_autocomplete = true;
const gfx::Rect bounds;
« no previous file with comments | « chrome/browser/autofill/autofill_external_delegate.cc ('k') | chrome/browser/autofill/autofill_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698