| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** @suppress {duplicate} */ | 5 /** @suppress {duplicate} */ |
| 6 var remoting = remoting || {}; | 6 var remoting = remoting || {}; |
| 7 | 7 |
| 8 (function() { | 8 (function() { |
| 9 | 9 |
| 10 'use strict'; | 10 'use strict'; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 new remoting.Error(remoting.Error.Tag.BAD_PLUGIN_VERSION)); | 125 new remoting.Error(remoting.Error.Tag.BAD_PLUGIN_VERSION)); |
| 126 return; | 126 return; |
| 127 } | 127 } |
| 128 deferred.resolve(plugin); | 128 deferred.resolve(plugin); |
| 129 } | 129 } |
| 130 plugin.initialize(onInitialized); | 130 plugin.initialize(onInitialized); |
| 131 return deferred.promise(); | 131 return deferred.promise(); |
| 132 } | 132 } |
| 133 | 133 |
| 134 })(); | 134 })(); |
| OLD | NEW |