diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-20 22:20:01 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-20 22:20:01 +0000 |
commit | 20799ff43165811c4958eae998061f6ca31e1610 (patch) | |
tree | 97241ca385a227bb9fbf1138ca225e818c724bd0 /chrome/browser/extensions/browser_action_test_util.h | |
parent | ac96c10662a70911483fc4db245372956e7d6f8b (diff) | |
download | chromium_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.h | 7 |
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 |