OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include <stdint.h> |
| 6 |
5 #include <cstring> | 7 #include <cstring> |
6 | 8 |
7 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
8 #include "ppapi/c/dev/ppb_printing_dev.h" | 10 #include "ppapi/c/dev/ppb_printing_dev.h" |
9 #include "ppapi/c/pp_errors.h" | 11 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/proxy/locking_resource_releaser.h" | 12 #include "ppapi/proxy/locking_resource_releaser.h" |
11 #include "ppapi/proxy/plugin_message_filter.h" | 13 #include "ppapi/proxy/plugin_message_filter.h" |
12 #include "ppapi/proxy/ppapi_messages.h" | 14 #include "ppapi/proxy/ppapi_messages.h" |
13 #include "ppapi/proxy/ppapi_proxy_test.h" | 15 #include "ppapi/proxy/ppapi_proxy_test.h" |
14 #include "ppapi/proxy/printing_resource.h" | 16 #include "ppapi/proxy/printing_resource.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 output_settings.print_scaling_option); | 96 output_settings.print_scaling_option); |
95 EXPECT_EQ(reply_settings.grayscale, output_settings.grayscale); | 97 EXPECT_EQ(reply_settings.grayscale, output_settings.grayscale); |
96 EXPECT_EQ(reply_settings.format, output_settings.format); | 98 EXPECT_EQ(reply_settings.format, output_settings.format); |
97 | 99 |
98 EXPECT_EQ(g_callback_result, PP_OK); | 100 EXPECT_EQ(g_callback_result, PP_OK); |
99 EXPECT_EQ(g_callback_called, true); | 101 EXPECT_EQ(g_callback_called, true); |
100 } | 102 } |
101 | 103 |
102 } // namespace proxy | 104 } // namespace proxy |
103 } // namespace ppapi | 105 } // namespace ppapi |
OLD | NEW |