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

Side by Side Diff: ppapi/proxy/printing_resource_unittest.cc

Issue 19627002: Use a direct include of the message_loop header in ppapi/, printing/, rlz/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <cstring> 5 #include <cstring>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "ppapi/c/dev/ppb_printing_dev.h" 8 #include "ppapi/c/dev/ppb_printing_dev.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/proxy/locking_resource_releaser.h" 10 #include "ppapi/proxy/locking_resource_releaser.h"
11 #include "ppapi/proxy/printing_resource.h"
12 #include "ppapi/proxy/ppapi_messages.h" 11 #include "ppapi/proxy/ppapi_messages.h"
13 #include "ppapi/proxy/ppapi_proxy_test.h" 12 #include "ppapi/proxy/ppapi_proxy_test.h"
13 #include "ppapi/proxy/printing_resource.h"
14 #include "ppapi/thunk/thunk.h" 14 #include "ppapi/thunk/thunk.h"
15 15
16 namespace ppapi { 16 namespace ppapi {
17 namespace proxy { 17 namespace proxy {
18 18
19 namespace { 19 namespace {
20 20
21 typedef PluginProxyTest PrintingResourceTest; 21 typedef PluginProxyTest PrintingResourceTest;
22 22
23 bool g_callback_called; 23 bool g_callback_called;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 output_settings.print_scaling_option); 93 output_settings.print_scaling_option);
94 EXPECT_EQ(reply_settings.grayscale, output_settings.grayscale); 94 EXPECT_EQ(reply_settings.grayscale, output_settings.grayscale);
95 EXPECT_EQ(reply_settings.format, output_settings.format); 95 EXPECT_EQ(reply_settings.format, output_settings.format);
96 96
97 EXPECT_EQ(g_callback_result, PP_OK); 97 EXPECT_EQ(g_callback_result, PP_OK);
98 EXPECT_EQ(g_callback_called, true); 98 EXPECT_EQ(g_callback_called, true);
99 } 99 }
100 100
101 } // namespace proxy 101 } // namespace proxy
102 } // namespace ppapi 102 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppp_instance_private_proxy_unittest.cc ('k') | ppapi/proxy/proxy_completion_callback_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698