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

Unified Diff: remoting/webapp/app_remoting/vendor/arv_main.js

Issue 1179873005: [AppRemoting] Break out AppRemoting shared module (re-land). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: remoting/webapp/app_remoting/vendor/arv_main.js
diff --git a/remoting/webapp/app_remoting/js/ar_main.js b/remoting/webapp/app_remoting/vendor/arv_main.js
similarity index 57%
rename from remoting/webapp/app_remoting/js/ar_main.js
rename to remoting/webapp/app_remoting/vendor/arv_main.js
index 2efe129e03ce323801c0e9814573cfe78edae02f..0278bf82ef47a1ab3426b05744ce38f26f4ac904 100644
--- a/remoting/webapp/app_remoting/js/ar_main.js
+++ b/remoting/webapp/app_remoting/vendor/arv_main.js
@@ -11,7 +11,14 @@ var remoting = remoting || {};
* Entry point ('load' handler) for App Remoting webapp.
*/
remoting.startAppRemoting = function() {
- remoting.app = new remoting.AppRemoting(remoting.app_capabilities());
+ // This string is overwritten with the actual app id by the build script.
+ var appId = 'APP_REMOTING_APPLICATION_ID';
+
+ // This string is overwritten with the actual capabilities required by
+ // this application.
+ var capabilities = ['APPLICATION_CAPABILITIES'];
+
+ remoting.app = new remoting.AppRemoting(appId, capabilities);
remoting.app.start();
};
« no previous file with comments | « remoting/webapp/app_remoting/vendor/arv_main.html ('k') | remoting/webapp/app_remoting/vendor/arv_wcs_sandbox.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698