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

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

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

Powered by Google App Engine
This is Rietveld 408576698