OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 * @fileoverview A helper object used by the "Google Play Store" (ARC) section | 6 * @fileoverview A helper object used by the "Google Play Store" (ARC) section |
7 * to retrieve information about android apps. | 7 * to retrieve information about android apps. |
8 */ | 8 */ |
9 | 9 |
10 /** | 10 /** |
11 * @typedef {{appReady: boolean}} | 11 * @typedef {{playStoreEnabled: boolean}} |
| 12 * @typedef {{appSettingsAvailable: boolean}} |
12 * @see chrome/browser/ui/webui/settings/chromeos/android_apps_handler.cc | 13 * @see chrome/browser/ui/webui/settings/chromeos/android_apps_handler.cc |
13 */ | 14 */ |
14 var AndroidAppsInfo; | 15 var AndroidAppsInfo; |
15 | 16 |
16 cr.define('settings', function() { | 17 cr.define('settings', function() { |
17 /** @interface */ | 18 /** @interface */ |
18 function AndroidAppsBrowserProxy() { | 19 function AndroidAppsBrowserProxy() { |
19 } | 20 } |
20 | 21 |
21 AndroidAppsBrowserProxy.prototype = { | 22 AndroidAppsBrowserProxy.prototype = { |
(...skipping 27 matching lines...) Expand all Loading... |
49 showAndroidAppsSettings: function(keyboardAction) { | 50 showAndroidAppsSettings: function(keyboardAction) { |
50 chrome.send('showAndroidAppsSettings', [keyboardAction]); | 51 chrome.send('showAndroidAppsSettings', [keyboardAction]); |
51 }, | 52 }, |
52 }; | 53 }; |
53 | 54 |
54 return { | 55 return { |
55 AndroidAppsBrowserProxy: AndroidAppsBrowserProxy, | 56 AndroidAppsBrowserProxy: AndroidAppsBrowserProxy, |
56 AndroidAppsBrowserProxyImpl: AndroidAppsBrowserProxyImpl, | 57 AndroidAppsBrowserProxyImpl: AndroidAppsBrowserProxyImpl, |
57 }; | 58 }; |
58 }); | 59 }); |
OLD | NEW |