Commit 768b8dc9 authored by tfarina@chromium.org's avatar tfarina@chromium.org

Cleanup: Remove WebFormElement include from autofill_manager_unittest.cc

Apparently this type is not used by the unit tests and allow us to
remove another entry from the DEPS file.

BUG=140037
TEST=unit_tests
R=joi@chromium.org,blundell@chromium.org

Review URL: https://codereview.chromium.org/165453003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251328 0039d316-1c4b-4281-b951-d872f2087c98
parent 5ade0d0b
...@@ -33,7 +33,6 @@ specific_include_rules = { ...@@ -33,7 +33,6 @@ specific_include_rules = {
"!content/public/browser/browser_context.h", "!content/public/browser/browser_context.h",
"!content/public/browser/browser_thread.h", "!content/public/browser/browser_thread.h",
"!content/public/test", "!content/public/test",
"!third_party/WebKit/public/web/WebFormElement.h",
# TODO(joi): Bring this list to zero. # TODO(joi): Bring this list to zero.
# #
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
#include "testing/gmock/include/gmock/gmock.h" #include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/web/WebAutofillClient.h" #include "third_party/WebKit/public/web/WebAutofillClient.h"
#include "third_party/WebKit/public/web/WebFormElement.h"
#include "ui/base/l10n/l10n_util.h" #include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/rect.h" #include "ui/gfx/rect.h"
#include "url/gurl.h" #include "url/gurl.h"
...@@ -56,7 +55,6 @@ ...@@ -56,7 +55,6 @@
using base::ASCIIToUTF16; using base::ASCIIToUTF16;
using base::UTF8ToUTF16; using base::UTF8ToUTF16;
using content::WebContents; using content::WebContents;
using blink::WebFormElement;
using testing::_; using testing::_;
namespace autofill { namespace autofill {
...@@ -418,12 +416,6 @@ class TestAutofillManager : public AutofillManager { ...@@ -418,12 +416,6 @@ class TestAutofillManager : public AutofillManager {
autofill_enabled_ = autofill_enabled; autofill_enabled_ = autofill_enabled;
} }
const std::vector<std::pair<WebFormElement::AutocompleteResult, FormData> >&
request_autocomplete_results() const {
return request_autocomplete_results_;
}
void set_expected_submitted_field_types( void set_expected_submitted_field_types(
const std::vector<ServerFieldTypeSet>& expected_types) { const std::vector<ServerFieldTypeSet>& expected_types) {
expected_submitted_field_types_ = expected_types; expected_submitted_field_types_ = expected_types;
...@@ -519,8 +511,6 @@ class TestAutofillManager : public AutofillManager { ...@@ -519,8 +511,6 @@ class TestAutofillManager : public AutofillManager {
TestPersonalDataManager* personal_data_; TestPersonalDataManager* personal_data_;
bool autofill_enabled_; bool autofill_enabled_;
std::vector<std::pair<WebFormElement::AutocompleteResult, FormData> >
request_autocomplete_results_;
scoped_refptr<content::MessageLoopRunner> message_loop_runner_; scoped_refptr<content::MessageLoopRunner> message_loop_runner_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment