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

Unified Diff: sky/engine/public/platform/WebConvertableToTraceFormat.h

Issue 889823002: Remove TRACE_EVENT indirection through blink::Platform (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/engine/public/platform/Platform.h ('k') | sky/engine/testing/platform/platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/platform/WebConvertableToTraceFormat.h
diff --git a/sky/engine/public/platform/WebConvertableToTraceFormat.h b/sky/engine/public/platform/WebConvertableToTraceFormat.h
deleted file mode 100644
index 715a0a4a0543f4889edf4a972f4742944fb6fcd6..0000000000000000000000000000000000000000
--- a/sky/engine/public/platform/WebConvertableToTraceFormat.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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 SKY_ENGINE_PUBLIC_PLATFORM_WEBCONVERTABLETOTRACEFORMAT_H_
-#define SKY_ENGINE_PUBLIC_PLATFORM_WEBCONVERTABLETOTRACEFORMAT_H_
-
-#include "sky/engine/public/platform/WebPrivatePtr.h"
-#include "sky/engine/public/platform/WebString.h"
-
-namespace blink {
-
-namespace TraceEvent {
-class ConvertableToTraceFormat;
-}
-
-class WebConvertableToTraceFormat {
-public:
- WebConvertableToTraceFormat() { }
-#if INSIDE_BLINK
- WebConvertableToTraceFormat(TraceEvent::ConvertableToTraceFormat*);
-#endif
- ~WebConvertableToTraceFormat() { reset(); }
-
- BLINK_PLATFORM_EXPORT WebString asTraceFormat() const;
- BLINK_PLATFORM_EXPORT void assign(const WebConvertableToTraceFormat&);
- BLINK_PLATFORM_EXPORT void reset();
-
- WebConvertableToTraceFormat(const WebConvertableToTraceFormat& r) { assign(r); }
- WebConvertableToTraceFormat& operator=(const WebConvertableToTraceFormat& r)
- {
- assign(r);
- return *this;
- }
-
-private:
- WebPrivatePtr<TraceEvent::ConvertableToTraceFormat> m_private;
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_PUBLIC_PLATFORM_WEBCONVERTABLETOTRACEFORMAT_H_
« no previous file with comments | « sky/engine/public/platform/Platform.h ('k') | sky/engine/testing/platform/platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698