Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3234)

Unified Diff: chrome/renderer/resources/extensions/app_custom_bindings.js

Issue 2829453002: [Extensions] Remove unnecessary check in app_custom_bindings.js (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/app_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/app_custom_bindings.js b/chrome/renderer/resources/extensions/app_custom_bindings.js
index b91705fb95c5219a3a17f3be4908b8af8651b66c..4d58054b989b2a6b18d6ff555db9153abf1fe7c9 100644
--- a/chrome/renderer/resources/extensions/app_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/app_custom_bindings.js
@@ -4,13 +4,6 @@
// Custom binding for the app API.
-var GetAvailability = requireNative('v8_context').GetAvailability;
-if (!GetAvailability('app').is_available) {
- exports.$set('binding', {});
- exports.$set('onInstallStateResponse', function(){});
- return;
-}
-
var appNatives = requireNative('app');
var process = requireNative('process');
var extensionId = process.GetExtensionId();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698