Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Unified Diff: chrome/test/base/in_process_browser_test.h

Issue 2876153002: Support Using ScopedFeatureList in BrowserTest (Closed)
Patch Set: Ilya comment addressed Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/in_process_browser_test.h
diff --git a/chrome/test/base/in_process_browser_test.h b/chrome/test/base/in_process_browser_test.h
index 69cf984c835c374b8077fa5462456fa570af9fb5..5a59a279e1b5fac5342734640e1aa5857f17d9b0 100644
--- a/chrome/test/base/in_process_browser_test.h
+++ b/chrome/test/base/in_process_browser_test.h
@@ -10,6 +10,7 @@
#include "base/compiler_specific.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/ref_counted.h"
+#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
@@ -266,6 +267,8 @@ class InProcessBrowserTest : public content::BrowserTestBase {
// We use hardcoded quota settings to have a consistent testing environment.
storage::QuotaSettings quota_settings_;
+ base::test::ScopedFeatureList scoped_feature_list_;
+
#if defined(OS_MACOSX)
base::mac::ScopedNSAutoreleasePool* autorelease_pool_;
std::unique_ptr<ScopedBundleSwizzlerMac> bundle_swizzler_;

Powered by Google App Engine
This is Rietveld 408576698