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

Side by Side Diff: chrome/common/pref_names.cc

Issue 1834783003: Added the SuppressUnsupportedOSWarning policy setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed policy_test_cases Created 4 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 // Number of processes that were open when the user shut down. 1437 // Number of processes that were open when the user shut down.
1438 const char kShutdownNumProcesses[] = "shutdown.num_processes"; 1438 const char kShutdownNumProcesses[] = "shutdown.num_processes";
1439 // Number of processes that were shut down using the slow path. 1439 // Number of processes that were shut down using the slow path.
1440 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow"; 1440 const char kShutdownNumProcessesSlow[] = "shutdown.num_processes_slow";
1441 1441
1442 // Whether to restart the current Chrome session automatically as the last thing 1442 // Whether to restart the current Chrome session automatically as the last thing
1443 // before shutting everything down. 1443 // before shutting everything down.
1444 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown"; 1444 const char kRestartLastSessionOnShutdown[] = "restart.last.session.on.shutdown";
1445 1445
1446 #if !defined(OS_ANDROID) 1446 #if !defined(OS_ANDROID)
1447 // Boolean that specifies whether or not showing the unsupported OS warning is
1448 // suppressed. False by default. Controlled by the SuppressUnsupportedOSWarning
1449 // policy setting.
1450 const char kSuppressUnsupportedOSWarning[] =
1451 "browser.suppress_unsupported_os_warning";
1452
1447 // Set before autorestarting Chrome, cleared on clean exit. 1453 // Set before autorestarting Chrome, cleared on clean exit.
1448 const char kWasRestarted[] = "was.restarted"; 1454 const char kWasRestarted[] = "was.restarted";
1449 #endif 1455 #endif
1450 1456
1451 // Whether Extensions are enabled. 1457 // Whether Extensions are enabled.
1452 const char kDisableExtensions[] = "extensions.disabled"; 1458 const char kDisableExtensions[] = "extensions.disabled";
1453 1459
1454 // Whether the plugin finder that lets you install missing plugins is enabled. 1460 // Whether the plugin finder that lets you install missing plugins is enabled.
1455 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; 1461 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder";
1456 1462
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
2179 const char kMediaRouterEnableCloudServices[] = 2185 const char kMediaRouterEnableCloudServices[] =
2180 "media_router.cloudservices.enabled"; 2186 "media_router.cloudservices.enabled";
2181 #endif // defined(GOOGLE_CHROME_BUILD) 2187 #endif // defined(GOOGLE_CHROME_BUILD)
2182 // Whether or not the Media Router first run flow has been acknowledged by the 2188 // Whether or not the Media Router first run flow has been acknowledged by the
2183 // user. 2189 // user.
2184 const char kMediaRouterFirstRunFlowAcknowledged[] = 2190 const char kMediaRouterFirstRunFlowAcknowledged[] =
2185 "media_router.firstrunflow.acknowledged"; 2191 "media_router.firstrunflow.acknowledged";
2186 #endif 2192 #endif
2187 2193
2188 } // namespace prefs 2194 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698