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

Unified Diff: third_party/brotli/enc/dictionary_hash.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/enc/dictionary.cc ('k') | third_party/brotli/enc/encode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/brotli/enc/dictionary_hash.h
diff --git a/third_party/brotli/enc/dictionary_hash.h b/third_party/brotli/enc/dictionary_hash.h
index afbb1f1e6788648b75c47d74487a72d89e35dc70..f4f47aa00f34c4b2f43ab7886453d836de8f9728 100644
--- a/third_party/brotli/enc/dictionary_hash.h
+++ b/third_party/brotli/enc/dictionary_hash.h
@@ -4,14 +4,16 @@
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
-// Hash table on the 4-byte prefixes of static dictionary words.
+/* Hash table on the 4-byte prefixes of static dictionary words. */
#ifndef BROTLI_ENC_DICTIONARY_HASH_H_
#define BROTLI_ENC_DICTIONARY_HASH_H_
-#include "./types.h"
+#include <brotli/types.h>
-namespace brotli {
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
static const uint16_t kStaticDictionaryHash[] = {
0x7d48, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
@@ -4112,6 +4114,8 @@ static const uint16_t kStaticDictionaryHash[] = {
0x0000, 0x0000, 0x0d88, 0x4ac5, 0x0000, 0x0000, 0x0000, 0x0000,
};
-} // namespace brotli
+#if defined(__cplusplus) || defined(c_plusplus)
+} /* extern "C" */
+#endif
-#endif // BROTLI_ENC_DICTIONARY_HASH_H_
+#endif /* BROTLI_ENC_DICTIONARY_HASH_H_ */
« no previous file with comments | « third_party/brotli/enc/dictionary.cc ('k') | third_party/brotli/enc/encode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698