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

Unified Diff: chrome/browser/chrome_content_browser_client_browsertest.cc

Issue 2703283002: Revert of MD Settings: enable by default in client (Closed)
Patch Set: 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
Index: chrome/browser/chrome_content_browser_client_browsertest.cc
diff --git a/chrome/browser/chrome_content_browser_client_browsertest.cc b/chrome/browser/chrome_content_browser_client_browsertest.cc
index e0e82fe9c19754ffaeb78f27bb4aea892b343468..fa57c299a93482c6664942a016f58ce2ec07b57c 100644
--- a/chrome/browser/chrome_content_browser_client_browsertest.cc
+++ b/chrome/browser/chrome_content_browser_client_browsertest.cc
@@ -4,12 +4,10 @@
#include "base/command_line.h"
#include "base/macros.h"
-#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
-#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
@@ -34,19 +32,11 @@
GetController().GetLastCommittedEntry();
}
- void SetUpInProcessBrowserTestFixture() override {
- disable_md_settings_.InitAndDisableFeature(
- features::kMaterialDesignSettings);
- }
-
#if defined(OS_CHROMEOS)
void SetUpCommandLine(base::CommandLine* command_line) override {
command_line->AppendSwitch(switches::kDisableSettingsWindow);
}
#endif
-
- private:
- base::test::ScopedFeatureList disable_md_settings_;
};
IN_PROC_BROWSER_TEST_F(ChromeContentBrowserClientBrowserTest,

Powered by Google App Engine
This is Rietveld 408576698