1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef PPAPI_TESTS_TEST_TRACE_EVENT_H_ 6 #define PPAPI_TESTS_TEST_TRACE_EVENT_H_ 7 8 #include <string> 9 10 #include "ppapi/c/dev/ppb_trace_event_dev.h" 11 #include "ppapi/tests/test_case.h" 12 13 class TestTraceEvent : public TestCase { 14 public: 15 explicit TestTraceEvent(TestingInstance* instance); 16 17 private: 18 // TestCase implementation. 19 virtual bool Init(); 20 virtual void RunTests(const std::string& filter); 21 22 std::string TestSmoke(); 23 std::string TestSmokeWithTimestamps(); 24 std::string TestClock(); 25 26 const PPB_Trace_Event_Dev* interface_; 27 }; 28 29 #endif // PPAPI_TESTS_TEST_TRACE_EVENT_H_ 30