Commit 55595d6a authored by akuegel@chromium.org's avatar akuegel@chromium.org

Remove switch to enable access request notifications.

BUG=362553

Review URL: https://codereview.chromium.org/399623009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283798 0039d316-1c4b-4281-b951-d872f2087c98
parent b1f117e4
......@@ -5,11 +5,9 @@
#include "chrome/browser/supervised_user/permission_request_creator_sync.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "base/values.h"
#include "chrome/browser/supervised_user/supervised_user_settings_service.h"
#include "chrome/browser/supervised_user/supervised_user_shared_settings_service.h"
#include "chrome/common/chrome_switches.h"
using base::Time;
......@@ -55,10 +53,7 @@ void PermissionRequestCreatorSync::CreatePermissionRequest(
const base::Value* value = shared_settings_service_->GetValue(
supervised_user_id_, kNotificationSetting);
bool notifications_enabled = false;
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableAccessRequestNotifications)) {
notifications_enabled = true;
} else if (value) {
if (value) {
bool success = value->GetAsBoolean(&notifications_enabled);
DCHECK(success);
}
......
......@@ -409,11 +409,6 @@ const char kDumpBrowserHistograms[] = "dump-browser-histograms";
// Overrides the path of Easy Unlock component app.
extern const char kEasyUnlockAppPath[] = "easy-unlock-app-path";
// Enables the notifications for the custodian of a supervised user when the
// supervised user sends an access request.
extern const char kEnableAccessRequestNotifications[] =
"enable-access-request-notifications";
// Enables the experimental Answers in Suggest feature.
const char kEnableAnswersInSuggest[] = "enable-answers-in-suggest";
......
......@@ -121,7 +121,6 @@ extern const char kDnsLogDetails[];
extern const char kDnsPrefetchDisable[];
extern const char kDumpBrowserHistograms[];
extern const char kEasyUnlockAppPath[];
extern const char kEnableAccessRequestNotifications[];
extern const char kEnableAnswersInSuggest[];
extern const char kEnableAppList[];
extern const char kEnableAppView[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment