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

Unified Diff: base/location.h

Issue 18083015: Add queued_time_ms trace for events in message loop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ConvertableToTraceFormat Created 7 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 | base/location.cc » ('j') | base/location.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/location.h
diff --git a/base/location.h b/base/location.h
index 05a4f66109058242f80a9036248ae57cef725261..3a95415c33495d7533094d3484896a1929739b46 100644
--- a/base/location.h
+++ b/base/location.h
@@ -9,6 +9,13 @@
#include "base/base_export.h"
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
+
+namespace base {
+namespace debug {
+class ConvertableToTraceFormat;
+}
+}
namespace tracked_objects {
@@ -47,6 +54,7 @@ class BASE_EXPORT Location {
const void* program_counter() const { return program_counter_; }
std::string ToString() const;
+ scoped_ptr<base::debug::ConvertableToTraceFormat> ToTraceFormat() const;
// Translate the some of the state in this instance into a human readable
// string with HTML characters in the function names escaped, and append that
« no previous file with comments | « no previous file | base/location.cc » ('j') | base/location.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698