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

Unified Diff: ppapi/tests/test_trace_event.h

Issue 17555005: Add events with custom timestamps and thread id to PPAPI dev tracing interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync 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 | « ppapi/shared_impl/ppb_trace_event_impl.cc ('k') | ppapi/tests/test_trace_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_trace_event.h
diff --git a/ppapi/tests/test_trace_event.h b/ppapi/tests/test_trace_event.h
new file mode 100644
index 0000000000000000000000000000000000000000..fe90fd906aa8bfcf62a5e729ac1dcea1eb87f3b0
--- /dev/null
+++ b/ppapi/tests/test_trace_event.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2013 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 PPAPI_TESTS_TEST_TRACE_EVENT_H_
+#define PPAPI_TESTS_TEST_TRACE_EVENT_H_
+
+#include <string>
+
+#include "ppapi/c/dev/ppb_trace_event_dev.h"
+#include "ppapi/tests/test_case.h"
+
+class TestTraceEvent : public TestCase {
+ public:
+ explicit TestTraceEvent(TestingInstance* instance);
+
+ private:
+ // TestCase implementation.
+ virtual bool Init();
+ virtual void RunTests(const std::string& filter);
+
+ std::string TestSmoke();
+ std::string TestSmokeWithTimestamps();
+ std::string TestClock();
+
+ const PPB_Trace_Event_Dev* interface_;
+};
+
+#endif // PPAPI_TESTS_TEST_TRACE_EVENT_H_
« no previous file with comments | « ppapi/shared_impl/ppb_trace_event_impl.cc ('k') | ppapi/tests/test_trace_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698