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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2696283007: DevTools: disable the Chrome tab debugging warning for force-installed extensions. (Closed)
Patch Set: review comment addressed 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 base::Value::Type::BOOLEAN }, 165 base::Value::Type::BOOLEAN },
166 { key::kSavingBrowserHistoryDisabled, 166 { key::kSavingBrowserHistoryDisabled,
167 prefs::kSavingBrowserHistoryDisabled, 167 prefs::kSavingBrowserHistoryDisabled,
168 base::Value::Type::BOOLEAN }, 168 base::Value::Type::BOOLEAN },
169 { key::kAllowDeletingBrowserHistory, 169 { key::kAllowDeletingBrowserHistory,
170 prefs::kAllowDeletingBrowserHistory, 170 prefs::kAllowDeletingBrowserHistory,
171 base::Value::Type::BOOLEAN }, 171 base::Value::Type::BOOLEAN },
172 { key::kDeveloperToolsDisabled, 172 { key::kDeveloperToolsDisabled,
173 prefs::kDevToolsDisabled, 173 prefs::kDevToolsDisabled,
174 base::Value::Type::BOOLEAN }, 174 base::Value::Type::BOOLEAN },
175 { key::kDeveloperToolsSilentManagedDebuggerAPIEnabled,
176 prefs::kDevToolsSilentManagedDebuggerAPIEnabled,
177 base::Value::Type::BOOLEAN },
175 { key::kBlockThirdPartyCookies, 178 { key::kBlockThirdPartyCookies,
176 prefs::kBlockThirdPartyCookies, 179 prefs::kBlockThirdPartyCookies,
177 base::Value::Type::BOOLEAN }, 180 base::Value::Type::BOOLEAN },
178 { key::kDefaultCookiesSetting, 181 { key::kDefaultCookiesSetting,
179 prefs::kManagedDefaultCookiesSetting, 182 prefs::kManagedDefaultCookiesSetting,
180 base::Value::Type::INTEGER }, 183 base::Value::Type::INTEGER },
181 { key::kDefaultImagesSetting, 184 { key::kDefaultImagesSetting,
182 prefs::kManagedDefaultImagesSetting, 185 prefs::kManagedDefaultImagesSetting,
183 base::Value::Type::INTEGER }, 186 base::Value::Type::INTEGER },
184 { key::kDefaultPluginsSetting, 187 { key::kDefaultPluginsSetting,
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 #endif // defined(OS_CHROMEOS) 1012 #endif // defined(OS_CHROMEOS)
1010 1013
1011 #if BUILDFLAG(ENABLE_PLUGINS) 1014 #if BUILDFLAG(ENABLE_PLUGINS)
1012 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 1015 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
1013 #endif // BUILDFLAG(ENABLE_PLUGINS) 1016 #endif // BUILDFLAG(ENABLE_PLUGINS)
1014 1017
1015 return handlers; 1018 return handlers;
1016 } 1019 }
1017 1020
1018 } // namespace policy 1021 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698