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

Unified Diff: third_party/WebKit/Source/platform/TraceEvent.h

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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 | « third_party/WebKit/Source/platform/Timer.cpp ('k') | third_party/WebKit/Source/platform/TracedValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/TraceEvent.h
diff --git a/third_party/WebKit/Source/platform/TraceEvent.h b/third_party/WebKit/Source/platform/TraceEvent.h
deleted file mode 100644
index 03c90024d62db2cdcf6909da123f3e9340e187bd..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/TraceEvent.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef TraceEvent_h
-#define TraceEvent_h
-
-#include "base/time/time.h"
-#include "base/trace_event/trace_event.h"
-#include "wtf/text/CString.h"
-
-namespace WTF {
-
-// CString version of SetTraceValue so that trace arguments can be strings.
-static inline void SetTraceValue(const CString& arg,
- unsigned char* type,
- unsigned long long* value) {
- trace_event_internal::TraceValueUnion typeValue;
- typeValue.as_string = arg.data();
- *type = TRACE_VALUE_TYPE_COPY_STRING;
- *value = typeValue.as_uint;
-}
-
-} // namespace WTF
-
-namespace blink {
-namespace TraceEvent {
-
-using base::trace_event::TraceScopedTrackableObject;
-
-inline base::TimeTicks toTraceTimestamp(double seconds) {
- return base::TimeTicks() + base::TimeDelta::FromSecondsD(seconds);
-}
-
-// This is to avoid error of passing a chromium time internal value.
-void toTraceTimestamp(int64_t);
-
-} // namespace TraceEvent
-} // namespace blink
-
-#endif
« no previous file with comments | « third_party/WebKit/Source/platform/Timer.cpp ('k') | third_party/WebKit/Source/platform/TracedValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698