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

Unified Diff: base/debug/trace_event_impl.h

Issue 11557009: Remove support for TRACE_EVENT_IF_LONGER_THANx macros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index 8ef4531e1574bd2c44a73e601e5abfb945fcbd1a..87cfa8cdfa2ead264fb8ac37c5d5e782660f51f5 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -254,14 +254,9 @@ class BASE_EXPORT TraceLog {
static const char* GetCategoryName(const unsigned char* category_enabled);
// Called by TRACE_EVENT* macros, don't call this directly.
- // Returns the index in the internal vector of the event if it was added, or
- // -1 if the event was not added.
- // On end events, the return value of the begin event can be specified along
- // with a threshold in microseconds. If the elapsed time between begin and end
- // is less than the threshold, the begin/end event pair is dropped.
// If |copy| is set, |name|, |arg_name1| and |arg_name2| will be deep copied
// into the event; see "Memory scoping note" and TRACE_EVENT_COPY_XXX above.
- int AddTraceEvent(char phase,
+ void AddTraceEvent(char phase,
const unsigned char* category_enabled,
const char* name,
unsigned long long id,
@@ -269,8 +264,6 @@ class BASE_EXPORT TraceLog {
const char** arg_names,
const unsigned char* arg_types,
const unsigned long long* arg_values,
- int threshold_begin_id,
- long long threshold,
unsigned char flags);
static void AddTraceEventEtw(char phase,
const char* name,

Powered by Google App Engine
This is Rietveld 408576698