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

Unified Diff: components/cronet/android/org_chromium_net_UrlRequestContext.cc

Issue 344793006: Generate Cronet Version.java based on VERSION and LASTCHANGE files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: components/cronet/android/org_chromium_net_UrlRequestContext.cc
diff --git a/components/cronet/android/org_chromium_net_UrlRequestContext.cc b/components/cronet/android/org_chromium_net_UrlRequestContext.cc
index 375300a8cc916f6b2161b45a2642e7c519b975df..52c536f453be8c7e7db8321b58cfe9716c0e1c75 100644
--- a/components/cronet/android/org_chromium_net_UrlRequestContext.cc
+++ b/components/cronet/android/org_chromium_net_UrlRequestContext.cc
@@ -16,14 +16,13 @@
#include "components/cronet/android/url_request_context_peer.h"
#include "components/cronet/android/url_request_peer.h"
#include "components/cronet/url_request_context_config.h"
+#include "cronet/cronet_version.h"
#include "jni/UrlRequestContext_jni.h"
-// Version of this build of Chromium NET.
-#define CHROMIUM_NET_VERSION "1"
namespace {
-const char kVersion[] = CHROMIUM_VERSION "/" CHROMIUM_NET_VERSION;
+const char kVersion[] = CRONET_VERSION "/" LAST_CHANGE;
// Delegate of URLRequestContextPeer that delivers callbacks to the Java layer.
class JniURLRequestContextPeerDelegate

Powered by Google App Engine
This is Rietveld 408576698