Index: chrome/browser/extensions/extension_browsertest.h |
diff --git a/chrome/browser/extensions/extension_browsertest.h b/chrome/browser/extensions/extension_browsertest.h |
index 1522f73f0872c1f5062b4905d498e9cb7525fcd6..7577209648cd87ec47fe7524eff4f9b27831625c 100644 |
--- a/chrome/browser/extensions/extension_browsertest.h |
+++ b/chrome/browser/extensions/extension_browsertest.h |
@@ -13,6 +13,7 @@ |
#include "base/scoped_temp_dir.h" |
#include "chrome/browser/extensions/extension_host.h" |
#include "chrome/common/extensions/extension.h" |
+#include "chrome/common/extensions/features/feature.h" |
#include "chrome/test/base/in_process_browser_test.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_observer.h" |
@@ -228,6 +229,9 @@ class ExtensionBrowserTest : virtual public InProcessBrowserTest, |
// When waiting for visible page action count to change, we wait until it |
// reaches this value. |
int target_visible_page_action_count_; |
+ |
+ // Ensure there is a channel set for the duration of the test. |
+ extensions::Feature::ScopedCurrentChannel current_channel_; |
}; |
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |