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

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, 2 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/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 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 // manager window to restore on startup. 1387 // manager window to restore on startup.
1388 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement"; 1388 const char kTaskManagerWindowPlacement[] = "task_manager.window_placement";
1389 1389
1390 // The most recent stored column visibility of the task manager table to be 1390 // The most recent stored column visibility of the task manager table to be
1391 // restored on startup. 1391 // restored on startup.
1392 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility"; 1392 const char kTaskManagerColumnVisibility[] = "task_manager.column_visibility";
1393 1393
1394 // A boolean indicating if ending processes are enabled or disabled by policy. 1394 // A boolean indicating if ending processes are enabled or disabled by policy.
1395 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled"; 1395 const char kTaskManagerEndProcessEnabled[] = "task_manager.end_process_enabled";
1396 1396
1397 // Dictionary indicating current network bandwidth throttling settings.
1398 // Contains a boolean (is throttling enabled) and two integers (upload rate
1399 // and download rate in kbits/s to throttle to)
1400 const char kNetworkThrottlingEnabled[] = "net.throttling_enabled";
1401
1397 // A collection of position, size, and other data relating to app windows to 1402 // A collection of position, size, and other data relating to app windows to
1398 // restore on startup. 1403 // restore on startup.
1399 const char kAppWindowPlacement[] = "browser.app_window_placement"; 1404 const char kAppWindowPlacement[] = "browser.app_window_placement";
1400 1405
1401 // String which specifies where to download files to by default. 1406 // String which specifies where to download files to by default.
1402 const char kDownloadDefaultDirectory[] = "download.default_directory"; 1407 const char kDownloadDefaultDirectory[] = "download.default_directory";
1403 1408
1404 // Boolean that records if the download directory was changed by an 1409 // Boolean that records if the download directory was changed by an
1405 // upgrade a unsafe location to a safe location. 1410 // upgrade a unsafe location to a safe location.
1406 const char kDownloadDirUpgraded[] = "download.directory_upgrade"; 1411 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2278 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2274 2279
2275 // A list of origin trial features to disable by policy. 2280 // A list of origin trial features to disable by policy.
2276 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2281 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2277 2282
2278 // Policy that indicates the state of updates for the binary components. 2283 // Policy that indicates the state of updates for the binary components.
2279 const char kComponentUpdatesEnabled[] = 2284 const char kComponentUpdatesEnabled[] =
2280 "component_updates.component_updates_enabled"; 2285 "component_updates.component_updates_enabled";
2281 2286
2282 } // namespace prefs 2287 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698