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

Unified Diff: chrome/browser/browser_about_handler_unittest.cc

Issue 2699973002: MD Settings: enable by default in client (Closed)
Patch Set: disable cros Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler_unittest.cc
diff --git a/chrome/browser/browser_about_handler_unittest.cc b/chrome/browser/browser_about_handler_unittest.cc
index f9df2dab411a90ea87722d8d63d3efeb72572928..321fd720b95d79b4e56ad7df47fbf9b951d9c2fe 100644
--- a/chrome/browser/browser_about_handler_unittest.cc
+++ b/chrome/browser/browser_about_handler_unittest.cc
@@ -82,6 +82,9 @@ TEST_F(BrowserAboutHandlerTest, WillHandleBrowserAboutURL) {
// Chrome OS defaults to showing Options in a window and including About in
// Options.
TEST_F(BrowserAboutHandlerTest, WillHandleBrowserAboutURLForOptionsChromeOS) {
+ base::test::ScopedFeatureList scoped_feature_list;
+ scoped_feature_list.InitAndDisableFeature(features::kMaterialDesignSettings);
+
std::string chrome_prefix(content::kChromeUIScheme);
chrome_prefix.append(url::kStandardSchemeSeparator);
std::vector<AboutURLTestCase> test_cases(
@@ -95,6 +98,9 @@ TEST_F(BrowserAboutHandlerTest, WillHandleBrowserAboutURLForOptionsChromeOS) {
#else
TEST_F(BrowserAboutHandlerTest, WillHandleBrowserAboutURLForOptions) {
+ base::test::ScopedFeatureList scoped_feature_list;
+ scoped_feature_list.InitAndDisableFeature(features::kMaterialDesignSettings);
+
std::string chrome_prefix(content::kChromeUIScheme);
chrome_prefix.append(url::kStandardSchemeSeparator);
std::vector<AboutURLTestCase> test_cases(
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698