Chromium Code Reviews| Index: ppapi/tests/test_printing.h |
| diff --git a/ppapi/tests/test_printing.h b/ppapi/tests/test_printing.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0f7d75ff2f4808ecfb361f483ab105b61ccc2b4c |
| --- /dev/null |
| +++ b/ppapi/tests/test_printing.h |
| @@ -0,0 +1,35 @@ |
| +// Copyright (c) 2012 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_PRINTING_H_ |
| +#define PPAPI_TESTS_TEST_PRINTING_H_ |
| + |
| +#include <string> |
| + |
| +#include "ppapi/tests/test_case.h" |
| +#include "ppapi/tests/test_utils.h" |
| +#include "ppapi/utility/completion_callback_factory.h" |
| + |
| +struct PP_PrintSettings_Dev; |
| + |
| +class TestPrinting : public TestCase { |
| + public: |
| + explicit TestPrinting(TestingInstance* instance); |
| + |
| + // TestCase implementation. |
| + virtual void RunTests(const std::string& filter); |
| + |
| + private: |
| + // Tests. |
| + std::string TestGetDefaultPrintSettings(); |
| + |
| + void Callback(int32_t result, |
| + PP_PrintSettings_Dev&); |
| + |
| + NestedEvent nested_event_; |
| + |
| + pp::CompletionCallbackFactory<TestPrinting> callback_factory_; |
| +}; |
| + |
| +#endif // PPAPI_TESTS_TEST_PRINTING_H_ |
|
brettw
2012/09/18 21:41:38
Two spaces before //
raymes
2012/09/18 23:43:57
Done.
|