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

Unified Diff: base/files/memory_mapped_file.h

Issue 1156873002: Load v8 snapshots directly from APK (and store them uncompressed) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8initializer
Patch Set: Pass FDs & Regions through to child process (Still has formatting errors) Created 5 years, 7 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
Index: base/files/memory_mapped_file.h
diff --git a/base/files/memory_mapped_file.h b/base/files/memory_mapped_file.h
index 8a7f045f351a0365d496f37f5824607cacfdc12e..c0fcd3862ad2e315661e799556e022a06627f93d 100644
--- a/base/files/memory_mapped_file.h
+++ b/base/files/memory_mapped_file.h
@@ -28,6 +28,7 @@ class BASE_EXPORT MemoryMappedFile {
struct BASE_EXPORT Region {
static const Region kWholeFile;
+ Region();
Region(int64 offset, int64 size);
bool operator==(const Region& other) const;
@@ -39,8 +40,7 @@ class BASE_EXPORT MemoryMappedFile {
int64 size;
private:
- // This ctor is used only by kWholeFile, to construct a zero-sized Region
- // (which is forbidden by the public ctor) and uniquely identify kWholeFile.
+ // This ctor is used only by kWholeFile, to construct kWholeFile.
Region(base::LinkerInitialized);
};

Powered by Google App Engine
This is Rietveld 408576698