| Index: chrome/browser/extensions/browser_action_test_util.h
|
| diff --git a/chrome/browser/extensions/browser_action_test_util.h b/chrome/browser/extensions/browser_action_test_util.h
|
| index cadb12cb74cad38f80b4aa9e53e4834e89b8ecc8..667f080c45c0783d7e23d9ca4f7ee2e27bbd8a68 100644
|
| --- a/chrome/browser/extensions/browser_action_test_util.h
|
| +++ b/chrome/browser/extensions/browser_action_test_util.h
|
| @@ -27,7 +27,7 @@ class BrowserActionTestUtil {
|
| // Returns the number of browser action currently visible.
|
| int VisibleBrowserActions();
|
|
|
| -#if defined(TOOLKIT_VIEWS)
|
| +#if defined(TOOLKIT_VIEWS) && defined(UNIT_TEST)
|
| // Waits for a browser action at |index| to get updated.
|
| void WaitForBrowserActionUpdated(int index);
|
| #endif
|
|
|