| Index: chrome/test/data/webui/cr_elements/settings_private_test_constants.js
|
| diff --git a/chrome/test/data/webui/cr_elements/settings_private_test_constants.js b/chrome/test/data/webui/cr_elements/settings_private_test_constants.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cb281b1c69b9ae86599c418a660a3b5d3f4ddb01
|
| --- /dev/null
|
| +++ b/chrome/test/data/webui/cr_elements/settings_private_test_constants.js
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Define chrome.settingsPrivate enums, normally provided by chrome WebUI.
|
| +// NOTE: These need to be kept in sync with settings_private.idl.
|
| +
|
| +chrome.settingsPrivate = chrome.settingsPrivate || {};
|
| +
|
| +/** @enum {string} */
|
| +chrome.settingsPrivate.ControlledBy = {
|
| + DEVICE_POLICY: 'DEVICE_POLICY',
|
| + USER_POLICY: 'USER_POLICY',
|
| + OWNER: 'OWNER',
|
| + PRIMARY_USER: 'PRIMARY_USER',
|
| + EXTENSION: 'EXTENSION',
|
| +};
|
| +
|
| +/** @enum {string} */
|
| +chrome.settingsPrivate.Enforcement = {
|
| + ENFORCED: 'ENFORCED',
|
| + RECOMMENDED: 'RECOMMENDED',
|
| +};
|
| +
|
| +/** @enum {string} */
|
| +chrome.settingsPrivate.PrefType = {
|
| + BOOLEAN: 'BOOLEAN',
|
| + NUMBER: 'NUMBER',
|
| + STRING: 'STRING',
|
| + URL: 'URL',
|
| + LIST: 'LIST',
|
| + DICTIONARY: 'DICTIONARY',
|
| +};
|
|
|