summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete_history_manager_unittest.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 13:04:48 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 13:04:48 +0000
commit46a32b92e76b665e79bc3ee3b309766a47dbcf9d (patch)
treeef7bab9dc47d5a2473ac07f3998357b08106fd73 /chrome/browser/autocomplete_history_manager_unittest.cc
parent2e0a8e5d4e235bac3a687e289de5bdfb6399a1e9 (diff)
downloadchromium_src-46a32b92e76b665e79bc3ee3b309766a47dbcf9d.zip
chromium_src-46a32b92e76b665e79bc3ee3b309766a47dbcf9d.tar.gz
chromium_src-46a32b92e76b665e79bc3ee3b309766a47dbcf9d.tar.bz2
Add abstractions that let embedders drive tests of WebContents, without exposing the internals of content/.
A separate WebContentsTester interface is used. For reasons this approach was chosen, see comments on the interface. As part of this work, removed a bunch of references to TabContents from Chrome, some of which were true usages (leaked to Chrome via the test_tab_contents.h header), others of which were just forward declarations and never used. Also removed a chunk of code from autofill_manager.cc that isn't called from anywhere that referenced TabContents. TBR=ben@chromium.org BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9706012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128198 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete_history_manager_unittest.cc')
-rw-r--r--chrome/browser/autocomplete_history_manager_unittest.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete_history_manager_unittest.cc b/chrome/browser/autocomplete_history_manager_unittest.cc
index d49f03d..6cd211a 100644
--- a/chrome/browser/autocomplete_history_manager_unittest.cc
+++ b/chrome/browser/autocomplete_history_manager_unittest.cc
@@ -14,7 +14,6 @@
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/browser/tab_contents/test_tab_contents.h"
#include "content/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"