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

Unified Diff: content/zygote/zygote_linux.h

Issue 2825853002: Improvements to uses of base::SmallMap (Closed)
Patch Set: Review comments Created 3 years, 8 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 | « content/browser/renderer_host/input/input_router_impl.h ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/zygote/zygote_linux.h
diff --git a/content/zygote/zygote_linux.h b/content/zygote/zygote_linux.h
index 79a06eb220c7151a7fd5668b2e8fe31657720be8..3eb7a1562fb766d190307b57462e198857482dbb 100644
--- a/content/zygote/zygote_linux.h
+++ b/content/zygote/zygote_linux.h
@@ -51,14 +51,13 @@ class Zygote {
// Notes whether the zygote has sent SIGKILL to this process.
bool sent_sigkill;
};
- typedef base::SmallMap< std::map<base::ProcessHandle, ZygoteProcessInfo> >
- ZygoteProcessMap;
+ using ZygoteProcessMap =
+ base::small_map<std::map<base::ProcessHandle, ZygoteProcessInfo>>;
// Retrieve a ZygoteProcessInfo from the process_info_map_.
// Returns true and write to process_info if |pid| can be found, return
// false otherwise.
- bool GetProcessInfo(base::ProcessHandle pid,
- ZygoteProcessInfo* process_info);
+ bool GetProcessInfo(base::ProcessHandle pid, ZygoteProcessInfo* process_info);
// Returns true if the SUID sandbox is active.
bool UsingSUIDSandbox() const;
« no previous file with comments | « content/browser/renderer_host/input/input_router_impl.h ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698