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

Unified Diff: third_party/brotli/common/version.h

Issue 2537133002: Update brotli to v1.0.0-snapshot. (Closed)
Patch Set: Fixed typo Created 4 years 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 | « third_party/brotli/common/dictionary.c ('k') | third_party/brotli/dec/bit_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/brotli/common/version.h
diff --git a/third_party/brotli/enc/compressor.h b/third_party/brotli/common/version.h
similarity index 28%
rename from third_party/brotli/enc/compressor.h
rename to third_party/brotli/common/version.h
index 1dfc42e889de6c294463fd595ec9a7c285f4cb3e..2cf6133304b3f85840d57dff3f8f392722b85601 100644
--- a/third_party/brotli/enc/compressor.h
+++ b/third_party/brotli/common/version.h
@@ -4,12 +4,16 @@
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
-/* C++ API for Brotli compression. */
+/* Version definition. */
-#ifndef BROTLI_ENC_COMPRESSOR_H_
-#define BROTLI_ENC_COMPRESSOR_H_
+#ifndef BROTLI_COMMON_VERSION_H_
+#define BROTLI_COMMON_VERSION_H_
-#include "./encode.h"
-#include "./streams.h"
+/* This macro should only be used when library is compiled together with client.
+ If library is dynamically linked, use BrotliDecoderVersion and
+ BrotliEncoderVersion methods. */
-#endif /* BROTLI_ENC_COMPRESSOR_H_ */
+/* Semantic version, claculated as (MAJOR << 24) | (MINOR << 12) | PATCH */
+#define BROTLI_VERSION 0x1000000
+
+#endif /* BROTLI_COMMON_VERSION_H_ */
« no previous file with comments | « third_party/brotli/common/dictionary.c ('k') | third_party/brotli/dec/bit_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698