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

Unified Diff: blimp/common/protocol_version.h.version

Issue 1876983002: Use Chromium BUILD to approximate Blimp protocol version, and check it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android to use GetVersionNumber() Created 4 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
« no previous file with comments | « blimp/common/protocol_version.h ('k') | blimp/net/blimp_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/protocol_version.h.version
diff --git a/blimp/common/protocol_version.h b/blimp/common/protocol_version.h.version
similarity index 58%
rename from blimp/common/protocol_version.h
rename to blimp/common/protocol_version.h.version
index ea628a2c0fac9df3e37c1c6ff79288d97be88792..bed7537ec6dfd07f644d01074e17820ef8843f79 100644
--- a/blimp/common/protocol_version.h
+++ b/blimp/common/protocol_version.h.version
@@ -5,14 +5,10 @@
#ifndef BLIMP_COMMON_PROTOCOL_VERSION_H_
#define BLIMP_COMMON_PROTOCOL_VERSION_H_
-#include "blimp/common/blimp_common_export.h"
-
namespace blimp {
-const int BLIMP_COMMON_EXPORT kProtocolVersion = 0;
-
-// TODO(dtrainor): Move this out or integrate this with kProtocolVersion?
-const char BLIMP_COMMON_EXPORT kEngineVersion[] = "20160209094838";
+// Latest version of the protocol supported by this build.
+const int kProtocolVersion = @BUILD@;
} // namespace blimp
« no previous file with comments | « blimp/common/protocol_version.h ('k') | blimp/net/blimp_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698