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

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: clock function 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_dev_trace_event.h b/ppapi/tests/test_dev_trace_event.h
new file mode 100644
index 0000000000000000000000000000000000000000..24ca364585416d9e85b04ab8b840fda638d95daa
--- /dev/null
+++ b/ppapi/tests/test_dev_trace_event.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
dmichael (off chromium) 2013/06/24 17:43:42 nit: 2013 on new files
grosse 2013/06/24 23:16:46 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_TESTS_TEST_DEV_TRACE_EVENT_H_
+#define PPAPI_TESTS_TEST_DEV_TRACE_EVENT_H_
+
+#include <string>
+
+#include "ppapi/c/dev/ppb_trace_event_dev.h"
+#include "ppapi/tests/test_case.h"
+
+class TestDevTraceEvent : public TestCase {
+ public:
+ explicit TestDevTraceEvent(TestingInstance* instance);
+
+ // TestCase implementation.
dmichael (off chromium) 2013/06/24 17:43:42 I slightly prefer making everything from here down
grosse 2013/06/24 23:16:46 Done.
+ virtual bool Init();
+ virtual void RunTests(const std::string& filter);
+
+ private:
+ std::string TestSmoke();
+ std::string TestSmokeWithTimestamps();
+ std::string TestClock();
+
+ const PPB_Trace_Event_Dev* interface_;
+};
+
+#endif // PPAPI_TESTS_TEST_DEV_TRACE_EVENT_H_

Powered by Google App Engine
This is Rietveld 408576698