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

Unified Diff: base/debug/trace_event_impl.h

Issue 9223005: Remove pointer mangling API from trace_event.h and use an addTraceEvent flag instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: using unused parameters Created 8 years, 11 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/debug/trace_event.h ('k') | base/debug/trace_event_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index 60323b44ff4956f2a036a7a2b833577dc54b2f67..dc7b59f331a013ce1e4bf90114b9074adc5d1de0 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -248,13 +248,6 @@ class BASE_EXPORT TraceLog {
const void* id,
const std::string& extra);
- // Mangle |ptr| with a hash based on the process ID so that if |ptr| occurs on
- // more than one process, it will not collide.
- unsigned long long GetInterProcessID(void* ptr) const {
- return static_cast<unsigned long long>(reinterpret_cast<uintptr_t>(ptr)) ^
- process_id_hash_;
- }
-
int process_id() const { return process_id_; }
// Exposed for unittesting:
« no previous file with comments | « base/debug/trace_event.h ('k') | base/debug/trace_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698