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

Unified Diff: ppapi/tests/test_dev_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: edits 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
Index: ppapi/tests/test_dev_trace_event.h
diff --git a/ppapi/tests/test_console.h b/ppapi/tests/test_dev_trace_event.h
similarity index 51%
copy from ppapi/tests/test_console.h
copy to ppapi/tests/test_dev_trace_event.h
index 1b2f55d9bc08c814acfda1ce6b46f3d834138558..f9e5fecd033386e2e591c9261933323a321a2209 100644
--- a/ppapi/tests/test_console.h
+++ b/ppapi/tests/test_dev_trace_event.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PPAPI_TESTS_TEST_CONSOLE_H_
-#define PPAPI_TESTS_TEST_CONSOLE_H_
+#ifndef PPAPI_TESTS_TEST_DEV_TRACE_EVENT_H_
+#define PPAPI_TESTS_TEST_DEV_TRACE_EVENT_H_
#include <string>
-#include "ppapi/c/ppb_console.h"
+#include "ppapi/c/dev/ppb_trace_event_dev.h"
#include "ppapi/tests/test_case.h"
-class TestConsole : public TestCase {
+class TestDevTraceEvent : public TestCase {
public:
- explicit TestConsole(TestingInstance* instance);
+ explicit TestDevTraceEvent(TestingInstance* instance);
// TestCase implementation.
virtual bool Init();
@@ -20,8 +20,9 @@ class TestConsole : public TestCase {
private:
std::string TestSmoke();
+ std::string TestSmokeWithTimestamps();
- const PPB_Console* console_interface_;
+ const PPB_Trace_Event_Dev* interface_;
};
-#endif // PPAPI_TESTS_TEST_CONSOLE_H_
+#endif // PPAPI_TESTS_TEST_DEV_TRACE_EVENT_H_

Powered by Google App Engine
This is Rietveld 408576698