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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 22887043: Enable "Reset profile" section in chrome://settings ultimately (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « chrome/browser/resources/options/browser_options.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 99ef39a8ee2f2f7c19c61c232ff67027457e1ae4..e853182f6235cb265136e2be8dc30c2afd99d2ab 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -12,7 +12,6 @@
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/memory/singleton.h"
-#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
#include "base/path_service.h"
#include "base/prefs/pref_service.h"
@@ -122,10 +121,6 @@ namespace options {
namespace {
-// Constants for the new tab button field trial.
-const char kProfileResetTrialName[] = "ManualResetProfile";
-const char kProfileResetTrialEnableGroupName[] = "Enable";
-
bool ShouldShowMultiProfilesUserList(chrome::HostDesktopType desktop_type) {
#if defined(OS_CHROMEOS)
// On Chrome OS we use different UI for multi-profiles.
@@ -531,14 +526,6 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) {
"gpuEnabledAtStart",
g_browser_process->gpu_mode_manager()->initial_gpu_mode_pref());
#endif
-
- bool finch_allows_button =
- base::FieldTrialList::FindFullName(kProfileResetTrialName) ==
- kProfileResetTrialEnableGroupName;
- values->SetBoolean("enableResetProfileSettingsSection",
- finch_allows_button ||
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableResetProfileSettings));
}
#if defined(ENABLE_FULL_PRINTING)
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698