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

Unified Diff: public/platform/Platform.h

Issue 1181603007: Expose a way to obtain a unique ID for the current process. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 7b8f0f648177cd1162c765da71fb29574fe85419..5b0eda845bc5f29efeeed690311646f1753fb719 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -294,6 +294,12 @@ public:
// See comments on ImageDecoder::m_maxDecodedBytes.
virtual size_t maxDecodedImageBytes() { return noDecodedImageByteLimit; }
+ // Process -------------------------------------------------------------
+
+ // Returns a unique identifier for a process. This may not necessarily be
+ // the process's process ID.
+ virtual uint32_t getUniqueIdForProcess() { return 0; }
+
// Message Ports -------------------------------------------------------
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698