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

Side by Side Diff: chrome/browser/resources/chromeos/switch_access/prefs.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (Closed)
Patch Set: Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 /** 5 /**
6 * Class to manage user preferences. 6 * Class to manage user preferences.
7 * 7 *
8 * @constructor 8 * @constructor
9 */ 9 */
10 function SwitchAccessPrefs() { 10 function SwitchAccessPrefs() {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 else 124 else
125 throw new TypeError('No value of string type for key \'' + key + '\''); 125 throw new TypeError('No value of string type for key \'' + key + '\'');
126 }, 126 },
127 127
128 /** 128 /**
129 * The default value of all preferences. All preferences should be primitives 129 * The default value of all preferences. All preferences should be primitives
130 * to prevent changes to default values. 130 * to prevent changes to default values.
131 * 131 *
132 * @const 132 * @const
133 */ 133 */
134 DEFAULT_PREFS: { 134 DEFAULT_PREFS: {'enableAutoScan': false, 'autoScanTime': 800}
135 'enableAutoScan': false,
136 'autoScanTime': 800
137 }
138 }; 135 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698