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

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

Issue 7779019: Removed sample.pak binary from checkout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated. Created 9 years, 4 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 | « no previous file | ui/base/resource/data_pack_unittest.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.cc
diff --git a/ui/base/resource/data_pack_literal.cc b/ui/base/resource/data_pack_literal.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4a32fa937b54a59ab1a93c9167feb17fe9fd5a90
--- /dev/null
+++ b/ui/base/resource/data_pack_literal.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2011 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.
+
+#include "base/basictypes.h"
+
+namespace ui {
+
+extern const char kSamplePakContents[] = {
+ 0x03, 0x00, 0x00, 0x00, // header(version
+ 0x04, 0x00, 0x00, 0x00, // no. entries)
+ 0x01, 0x00, 0x26, 0x00, 0x00, 0x00, // index entry 1
+ 0x04, 0x00, 0x26, 0x00, 0x00, 0x00, // index entry 4
+ 0x06, 0x00, 0x32, 0x00, 0x00, 0x00, // index entry 6
+ 0x0a, 0x00, 0x3e, 0x00, 0x00, 0x00, // index entry 10
+ 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, // extra entry for the size of last
+ 't', 'h', 'i', 's', ' ', 'i', 's', ' ', 'i', 'd', ' ', '4',
+ 't', 'h', 'i', 's', ' ', 'i', 's', ' ', 'i', 'd', ' ', '6'
+};
+
+extern const size_t kSamplePakSize = sizeof(kSamplePakContents);
+
+} // namespace ui
« no previous file with comments | « no previous file | ui/base/resource/data_pack_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698