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

Unified Diff: ui/base/resource/data_pack_literal.h

Issue 2969123002: Add deduplication logic to .pak files (Closed)
Patch Set: sizeof() Created 3 years, 5 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 | « ui/base/resource/data_pack.cc ('k') | ui/base/resource/data_pack_literal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/data_pack_literal.h
diff --git a/ui/base/resource/data_pack_literal.h b/ui/base/resource/data_pack_literal.h
new file mode 100644
index 0000000000000000000000000000000000000000..0e74647771d0354a516f56c3cdef07cdabe4df40
--- /dev/null
+++ b/ui/base/resource/data_pack_literal.h
@@ -0,0 +1,23 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_BASE_RESOURCE_DATA_PACK_LITERAL_H_
+#define UI_BASE_RESOURCE_DATA_PACK_LITERAL_H_
+
+namespace ui {
+
+extern const char kSamplePakContentsV4[];
+extern const size_t kSamplePakSizeV4;
+extern const char kSamplePakContentsV5[];
+extern const size_t kSamplePakSizeV5;
+extern const char kSamplePakContents2x[];
+extern const size_t kSamplePakSize2x;
+extern const char kEmptyPakContents[];
+extern const size_t kEmptyPakSize;
+extern const char kSampleCorruptPakContents[];
+extern const size_t kSampleCorruptPakSize;
+
+} // namespace ui
+
+#endif // UI_BASE_RESOURCE_DATA_PACK_LITERAL_H_
« no previous file with comments | « ui/base/resource/data_pack.cc ('k') | ui/base/resource/data_pack_literal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698