OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 6 * @fileoverview |
7 * REST API for host-list management. | 7 * REST API for host-list management. |
8 */ | 8 */ |
9 | 9 |
10 /** @suppress {duplicate} */ | 10 /** @suppress {duplicate} */ |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 if (opt_ignoreErrors && error.hasTag.apply(error, opt_ignoreErrors)) { | 153 if (opt_ignoreErrors && error.hasTag.apply(error, opt_ignoreErrors)) { |
154 return; | 154 return; |
155 } | 155 } |
156 | 156 |
157 throw error; | 157 throw error; |
158 }; | 158 }; |
159 return result; | 159 return result; |
160 }; | 160 }; |
161 | 161 |
162 /** @type {remoting.HostListApi} */ | |
163 remoting.hostListApi = new remoting.HostListApiImpl(); | |
164 | |
165 })(); | 162 })(); |
OLD | NEW |