summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background
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/background
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/background')
-rw-r--r--chrome/browser/background/background_contents_service.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/background/background_contents_service.h b/chrome/browser/background/background_contents_service.h
index 457d0ab..10b7677 100644
--- a/chrome/browser/background/background_contents_service.h
+++ b/chrome/browser/background/background_contents_service.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -23,7 +23,6 @@
class CommandLine;
class PrefService;
class Profile;
-class TabContents;
namespace base {
class DictionaryValue;