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

Unified Diff: remoting/client/plugin/chromoting_scriptable_object.h

Issue 7065036: Add basic versioning check to Chromoting's plugin/JS code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 9 years, 7 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/client/plugin/chromoting_scriptable_object.h
diff --git a/remoting/client/plugin/chromoting_scriptable_object.h b/remoting/client/plugin/chromoting_scriptable_object.h
index 8ee2d12ff8d047e10415ed426365aa9fb05ea5c4..b0a9132b785f343cadd6044a053bed2319d7dc8b 100644
--- a/remoting/client/plugin/chromoting_scriptable_object.h
+++ b/remoting/client/plugin/chromoting_scriptable_object.h
@@ -7,6 +7,16 @@
//
// interface ChromotingScriptableObject {
//
+// // Chromoting session API version (for this plugin).
+// // This is compared with the javascript API version to verify that they are
+// // compatible.
+// readonly attribute unsigned short apiVersion;
+//
+// // The oldest API version that we support.
+// // This will differ from |apiVersion| if we decide to maintain backward
+// // compatibility with older API versions.
+// readonly attribute unsigned short apiMinVersion;
+//
// // Dimension of the desktop area.
// readonly attribute int desktopWidth;
// readonly attribute int desktopHeight;
« no previous file with comments | « remoting/client/appengine/static_files/chromoting_session.js ('k') | remoting/client/plugin/chromoting_scriptable_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698