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

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: 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
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" 5 #include <memory>
bbudge 2016/04/06 21:01:20 Could this be eliminated?
dcheng 2016/04/06 21:18:33 Done.
6
6 #include "ipc/ipc_message_utils.h" 7 #include "ipc/ipc_message_utils.h"
7 #include "ppapi/c/ppb_audio.h" 8 #include "ppapi/c/ppb_audio.h"
8 #include "ppapi/c/ppp_instance.h" 9 #include "ppapi/c/ppp_instance.h"
9 #include "ppapi/proxy/ppapi_messages.h" 10 #include "ppapi/proxy/ppapi_messages.h"
10 #include "ppapi/proxy/ppapi_proxy_test.h" 11 #include "ppapi/proxy/ppapi_proxy_test.h"
11 12
12 namespace ppapi { 13 namespace ppapi {
13 namespace proxy { 14 namespace proxy {
14 15
15 namespace { 16 namespace {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ppapi::proxy::SerializedHandle::SOCKET), 79 ppapi::proxy::SerializedHandle::SOCKET),
79 ppapi::proxy::SerializedHandle( 80 ppapi::proxy::SerializedHandle(
80 ppapi::proxy::SerializedHandle::SHARED_MEMORY)); 81 ppapi::proxy::SerializedHandle::SHARED_MEMORY));
81 plugin_dispatcher()->OnMessageReceived(audio_msg); 82 plugin_dispatcher()->OnMessageReceived(audio_msg);
82 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO)); 83 EXPECT_TRUE(HasTargetProxy(API_ID_PPB_AUDIO));
83 } 84 }
84 85
85 } // namespace proxy 86 } // namespace proxy
86 } // namespace ppapi 87 } // namespace ppapi
87 88
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698