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

Unified Diff: runtime/bin/file.h

Issue 2410303008: Revert "Use a single file for app snapshots." (Closed)
Patch Set: Created 4 years, 2 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 | « runtime/bin/extensions_win.cc ('k') | runtime/bin/file_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file.h
diff --git a/runtime/bin/file.h b/runtime/bin/file.h
index c30c02d8bf2d68874601cc4d073d9f09644543e2..6b22793ec5a45626ca3d73e83ebb36fa766b2865 100644
--- a/runtime/bin/file.h
+++ b/runtime/bin/file.h
@@ -88,11 +88,7 @@ class File : public ReferenceCounted<File> {
intptr_t GetFD();
- enum MapType {
- kReadOnly = 0,
- kReadExecute = 1,
- };
- void* Map(MapType type, int64_t position, int64_t length);
+ void* MapExecutable(intptr_t* num_bytes);
// Read/Write attempt to transfer num_bytes to/from buffer. It returns
// the number of bytes read/written.
« no previous file with comments | « runtime/bin/extensions_win.cc ('k') | runtime/bin/file_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698