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

Unified Diff: base/files/memory_mapped_file.h

Issue 1156183003: Pass file Regions along with FDs to child processes on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | base/files/memory_mapped_file.cc » ('j') | base/files/memory_mapped_file.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
agrieve 2015/05/28 17:26:23 Note: Need this so Region can be used in std::Map,
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);
};
« no previous file with comments | « no previous file | base/files/memory_mapped_file.cc » ('j') | base/files/memory_mapped_file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698