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

Unified Diff: remoting/webapp/base/js/app_capabilities.js

Issue 1191883002: Revert of [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
« no previous file with comments | « remoting/webapp/app_remoting/vendor/arv_wcs_sandbox.html ('k') | remoting/webapp/base/js/application.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/app_capabilities.js
diff --git a/remoting/webapp/base/js/app_capabilities.js b/remoting/webapp/base/js/app_capabilities.js
new file mode 100644
index 0000000000000000000000000000000000000000..bdbc96c00152baa78965005d8b9ce638571ff1df
--- /dev/null
+++ b/remoting/webapp/base/js/app_capabilities.js
@@ -0,0 +1,18 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+'use strict';
+
+/** @suppress {duplicate} */
+var remoting = remoting || {};
+
+/**
+ * Note that this needs to be a function because it gets expanded at
+ * compile-time into remoting.ClientSession.Capability enums and these
+ * are not guaranteed to be present yet when this file is loaded.
+ * @return {Array<remoting.ClientSession.Capability>}
+ */
+remoting.app_capabilities = function() {
+ return ['APPLICATION_CAPABILITIES'];
+}
« no previous file with comments | « remoting/webapp/app_remoting/vendor/arv_wcs_sandbox.html ('k') | remoting/webapp/base/js/application.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698