summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/browser_action_test_util.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-20 22:20:01 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-20 22:20:01 +0000
commit20799ff43165811c4958eae998061f6ca31e1610 (patch)
tree97241ca385a227bb9fbf1138ca225e818c724bd0 /chrome/browser/extensions/browser_action_test_util.h
parentac96c10662a70911483fc4db245372956e7d6f8b (diff)
downloadchromium_src-20799ff43165811c4958eae998061f6ca31e1610.zip
chromium_src-20799ff43165811c4958eae998061f6ca31e1610.tar.gz
chromium_src-20799ff43165811c4958eae998061f6ca31e1610.tar.bz2
Get rid of the multiple includes of browser_action_test_util files in browser.lib and browser_tests.exe. This is wrong on its own (we shouldn't be compiling code in/out using the UNIT_TEST ifdef). It also allows us to turn on incremental linking for browser_tests.
Review URL: https://chromiumcodereview.appspot.com/10592022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/browser_action_test_util.h')
-rw-r--r--chrome/browser/extensions/browser_action_test_util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/extensions/browser_action_test_util.h b/chrome/browser/extensions/browser_action_test_util.h
index 667f080..33960fb 100644
--- a/chrome/browser/extensions/browser_action_test_util.h
+++ b/chrome/browser/extensions/browser_action_test_util.h
@@ -11,6 +11,7 @@
#include "build/build_config.h"
class Browser;
+class ExtensionAction;
namespace gfx {
class Rect;
@@ -27,9 +28,9 @@ class BrowserActionTestUtil {
// Returns the number of browser action currently visible.
int VisibleBrowserActions();
-#if defined(TOOLKIT_VIEWS) && defined(UNIT_TEST)
- // Waits for a browser action at |index| to get updated.
- void WaitForBrowserActionUpdated(int index);
+#if defined(TOOLKIT_VIEWS)
+ // Returns the ExtensionAction for the given index.
+ ExtensionAction* GetExtensionAction(int index);
#endif
// Returns whether the browser action at |index| has a non-null icon. Note