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

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

Issue 2466693002: [Re-land] Add network throttling as enterprise policy (Closed)
Patch Set: Created 4 years, 1 month 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/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 // manager window to restore on startup. 1376 // manager window to restore on startup.
1377 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement"; 1377 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement";
1378 1378
1379 // The most recent stored column visibility of the task manager table to be 1379 // The most recent stored column visibility of the task manager table to be
1380 // restored on startup. 1380 // restored on startup.
1381 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility"; 1381 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility";
1382 1382
1383 // A boolean indicating if ending processes are enabled or disabled by policy. 1383 // A boolean indicating if ending processes are enabled or disabled by policy.
1384 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled"; 1384 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled";
1385 1385
1386 // Dictionary indicating current network bandwidth throttling settings.
1387 // Contains a boolean (is throttling enabled) and two integers (upload rate
1388 // and download rate in kbits/s to throttle to)
1389 const char kNetworkThrottlingEnabled[] = "net.throttling_enabled";
1390
1386 // A collection of position, size, and other data relating to app windows to 1391 // A collection of position, size, and other data relating to app windows to
1387 // restore on startup. 1392 // restore on startup.
1388 const char kAppWindowPlacement[] = "browser.app_window_placement"; 1393 const char kAppWindowPlacement[] = "browser.app_window_placement";
1389 1394
1390 // String which specifies where to download files to by default. 1395 // String which specifies where to download files to by default.
1391 const char kDownloadDefaultDirectory[] = "download.default_directory"; 1396 const char kDownloadDefaultDirectory[] = "download.default_directory";
1392 1397
1393 // Boolean that records if the download directory was changed by an 1398 // Boolean that records if the download directory was changed by an
1394 // upgrade a unsafe location to a safe location. 1399 // upgrade a unsafe location to a safe location.
1395 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; 1400 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
2260 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2265 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2261 2266
2262 // A list of origin trial features to disable by policy. 2267 // A list of origin trial features to disable by policy.
2263 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2268 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2264 2269
2265 // Policy that indicates the state of updates for the binary components. 2270 // Policy that indicates the state of updates for the binary components.
2266 const char kComponentUpdatesEnabled[] = 2271 const char kComponentUpdatesEnabled[] =
2267 "component_updates.component_updates_enabled"; 2272 "component_updates.component_updates_enabled";
2268 2273
2269 } // namespace prefs 2274 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698