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

Unified Diff: base/process/process_info.h

Issue 21302005: Add CurrentProcessInfo::CreationTime() for Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac Created 7 years, 4 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 | « base/process/internal_linux.cc ('k') | base/process/process_info_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_info.h
diff --git a/base/process/process_info.h b/base/process/process_info.h
index e72c56b16578a6dc7b4ecd406bd7eac9b40e4662..e9e7b4e815158124bce1d1d3c9cb7085e9f7220c 100644
--- a/base/process/process_info.h
+++ b/base/process/process_info.h
@@ -15,9 +15,9 @@ class Time;
// Vends information about the current process.
class BASE_EXPORT CurrentProcessInfo {
public:
- // Returns the time at which the process was launched or NULL if an error
- // occurred retrieving the information.
- static const Time* CreationTime();
+ // Returns the time at which the process was launched. May be empty if an
+ // error occurred retrieving the information.
+ static const Time CreationTime();
};
} // namespace base
« no previous file with comments | « base/process/internal_linux.cc ('k') | base/process/process_info_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698