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

Side by Side Diff: chrome/test/data/extensions/api_test/chromeos_info_private/background.js

Issue 308913004: cros: Expose client_id via chromeosInfoPrivate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove sn since not working Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/api/chromeos_info_private.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 var pass = chrome.test.callbackPass; 5 var pass = chrome.test.callbackPass;
6 var fail = chrome.test.callbackFail; 6 var fail = chrome.test.callbackFail;
7 7
8 function getTestFunctionFor(keys, fails) { 8 function getTestFunctionFor(keys, fails) {
9 return function generatedTest () { 9 return function generatedTest () {
10 // Debug. 10 // Debug.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 )); 100 ));
101 } 101 }
102 102
103 // Run generated chrome.chromeosInfoPrivate.get() tests. 103 // Run generated chrome.chromeosInfoPrivate.get() tests.
104 var tests = generateTestsForKeys(['hwid', 104 var tests = generateTestsForKeys(['hwid',
105 'customizationId', 105 'customizationId',
106 'homeProvider', 106 'homeProvider',
107 'initialLocale', 107 'initialLocale',
108 'board', 108 'board',
109 'isOwner', 109 'isOwner',
110 'clientId',
110 'a11yLargeCursorEnabled', 111 'a11yLargeCursorEnabled',
111 'a11yStickyKeysEnabled', 112 'a11yStickyKeysEnabled',
112 'a11ySpokenFeedbackEnabled', 113 'a11ySpokenFeedbackEnabled',
113 'a11yHighContrastEnabled', 114 'a11yHighContrastEnabled',
114 'a11yScreenMagnifierEnabled', 115 'a11yScreenMagnifierEnabled',
115 'a11yAutoClickEnabled', 116 'a11yAutoClickEnabled',
116 'a11yVirtualKeyboardEnabled', 117 'a11yVirtualKeyboardEnabled',
117 'sendFunctionKeys', 118 'sendFunctionKeys',
118 'timezone', 119 'timezone',
119 'supportedTimezones']) 120 'supportedTimezones'])
120 121
121 // Add chrome.chromeosInfoPrivate.set() test. 122 // Add chrome.chromeosInfoPrivate.set() test.
122 tests.push(timezoneSetTest); 123 tests.push(timezoneSetTest);
123 tests.push(prefsTest); 124 tests.push(prefsTest);
124 125
125 chrome.test.runTests(tests); 126 chrome.test.runTests(tests);
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/chromeos_info_private.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698