diff options
Diffstat (limited to 'chrome/renderer/resources/extensions/app_runtime_custom_bindings.js')
-rw-r--r-- | chrome/renderer/resources/extensions/app_runtime_custom_bindings.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js b/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js index a50c964..0a70fc4 100644 --- a/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js +++ b/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js @@ -2,12 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Custom binding for the chrome.app.runtime API. - -var binding = require('binding').Binding.create('app.runtime'); +// Custom bindings for the chrome.app.runtime API. var chromeHidden = requireNative('chrome_hidden').GetChromeHidden(); -var chrome = requireNative('chrome').GetChrome(); var fileSystemHelpers = requireNative('file_system_natives'); var GetIsolatedFileSystem = fileSystemHelpers.GetIsolatedFileSystem; var appNatives = requireNative('app_runtime'); @@ -52,5 +49,3 @@ chromeHidden.Event.registerArgumentMassager('app.runtime.onLaunched', dispatch([]); } }); - -exports.binding = binding.generate(); |