Chromium Code Reviews| 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 /** |
| 12 * @typedef {{ | |
| 13 * playStoreEnabled: boolean, | |
| 14 * appSettingsAvailable: boolean, | |
|
stevenjb
2017/05/10 16:47:03
nit: document each of these. I know we use 'Play S
khmel
2017/05/10 21:48:12
Some times ago we changed meaning ARC available to
| |
| 15 * }} | |
| 12 * @see chrome/browser/ui/webui/settings/chromeos/android_apps_handler.cc | 16 * @see chrome/browser/ui/webui/settings/chromeos/android_apps_handler.cc |
| 13 */ | 17 */ |
| 14 var AndroidAppsInfo; | 18 var AndroidAppsInfo; |
| 15 | 19 |
| 16 cr.define('settings', function() { | 20 cr.define('settings', function() { |
| 17 /** @interface */ | 21 /** @interface */ |
| 18 function AndroidAppsBrowserProxy() { | 22 function AndroidAppsBrowserProxy() { |
| 19 } | 23 } |
| 20 | 24 |
| 21 AndroidAppsBrowserProxy.prototype = { | 25 AndroidAppsBrowserProxy.prototype = { |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 49 showAndroidAppsSettings: function(keyboardAction) { | 53 showAndroidAppsSettings: function(keyboardAction) { |
| 50 chrome.send('showAndroidAppsSettings', [keyboardAction]); | 54 chrome.send('showAndroidAppsSettings', [keyboardAction]); |
| 51 }, | 55 }, |
| 52 }; | 56 }; |
| 53 | 57 |
| 54 return { | 58 return { |
| 55 AndroidAppsBrowserProxy: AndroidAppsBrowserProxy, | 59 AndroidAppsBrowserProxy: AndroidAppsBrowserProxy, |
| 56 AndroidAppsBrowserProxyImpl: AndroidAppsBrowserProxyImpl, | 60 AndroidAppsBrowserProxyImpl: AndroidAppsBrowserProxyImpl, |
| 57 }; | 61 }; |
| 58 }); | 62 }); |
| OLD | NEW |