Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ppapi / tests / test_printing.h
blobceb0983c5a2fabb260cbc297c99d6fdfd825c13d
1 // Copyright (c) 2012 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.
5 #ifndef PPAPI_TESTS_TEST_PRINTING_H_
6 #define PPAPI_TESTS_TEST_PRINTING_H_
8 #include <string>
10 #include "ppapi/tests/test_case.h"
11 #include "ppapi/tests/test_utils.h"
12 #include "ppapi/utility/completion_callback_factory.h"
14 struct PP_PrintSettings_Dev;
16 class TestPrinting : public TestCase {
17 public:
18 explicit TestPrinting(TestingInstance* instance);
20 // TestCase implementation.
21 virtual void RunTests(const std::string& filter);
23 private:
24 // Tests.
25 std::string TestGetDefaultPrintSettings();
27 void Callback(int32_t result,
28 PP_PrintSettings_Dev&);
30 NestedEvent nested_event_;
32 pp::CompletionCallbackFactory<TestPrinting> callback_factory_;
35 #endif // PPAPI_TESTS_TEST_PRINTING_H_