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

Unified Diff: headless/lib/util/embedded_file.h

Issue 1969313005: [headless] Embed pak file into binary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated years in copyright Created 3 years, 10 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 | « headless/lib/headless_content_main_delegate.cc ('k') | ui/base/resource/data_pack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/util/embedded_file.h
diff --git a/headless/lib/util/embedded_file.h b/headless/lib/util/embedded_file.h
new file mode 100644
index 0000000000000000000000000000000000000000..4647aefec0aa8a1d9ddb1151be800a6ca3a37b2f
--- /dev/null
+++ b/headless/lib/util/embedded_file.h
@@ -0,0 +1,22 @@
+// 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 HEADLESS_LIB_UTIL_EMBEDDED_FILE_H_
+#define HEADLESS_LIB_UTIL_EMBEDDED_FILE_H_
+
+#include <cstdint>
+#include <cstdlib>
+
+namespace headless {
+namespace util {
+
+struct EmbeddedFile {
+ size_t length;
+ const uint8_t* contents;
+};
+
+} // namespace util
+} // namespace headless
+
+#endif // HEADLESS_LIB_UTIL_EMBEDDED_FILE_H_
« no previous file with comments | « headless/lib/headless_content_main_delegate.cc ('k') | ui/base/resource/data_pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698