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

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

Issue 1864293002: Convert //ppapi to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more nullptr Created 4 years, 8 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
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/memory/scoped_ptr.h"
6 #include "ipc/ipc_message_utils.h" 5 #include "ipc/ipc_message_utils.h"
7 #include "ppapi/c/ppb_audio.h" 6 #include "ppapi/c/ppb_audio.h"
8 #include "ppapi/c/ppp_instance.h" 7 #include "ppapi/c/ppp_instance.h"
9 #include "ppapi/proxy/ppapi_messages.h" 8 #include "ppapi/proxy/ppapi_messages.h"
10 #include "ppapi/proxy/ppapi_proxy_test.h" 9 #include "ppapi/proxy/ppapi_proxy_test.h"
11 10
12 namespace ppapi { 11 namespace ppapi {
13 namespace proxy { 12 namespace proxy {
14 13
15 namespace { 14 namespace {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ppapi::proxy::SerializedHandle::SOCKET), 77 ppapi::proxy::SerializedHandle::SOCKET),
79 ppapi::proxy::SerializedHandle( 78 ppapi::proxy::SerializedHandle(
80 ppapi::proxy::SerializedHandle::SHARED_MEMORY)); 79 ppapi::proxy::SerializedHandle::SHARED_MEMORY));
81 plugin_dispatcher()->OnMessageReceived(audio_msg); 80 plugin_dispatcher()->OnMessageReceived(audio_msg);
82 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO)); 81 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO));
83 } 82 }
84 83
85 } // namespace proxy 84 } // namespace proxy
86 } // namespace ppapi 85 } // namespace ppapi
87 86
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698