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

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

Issue 18209022: add missing headers in ppapi/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more reordering 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
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 "ppapi/proxy/talk_resource.h" 5 #include "ppapi/proxy/talk_resource.h"
6 6
7 #include "base/bind.h"
7 #include "ppapi/proxy/ppapi_messages.h" 8 #include "ppapi/proxy/ppapi_messages.h"
8 9
9 namespace ppapi { 10 namespace ppapi {
10 namespace proxy { 11 namespace proxy {
11 12
12 TalkResource::TalkResource(Connection connection, PP_Instance instance) 13 TalkResource::TalkResource(Connection connection, PP_Instance instance)
13 : PluginResource(connection, instance), 14 : PluginResource(connection, instance),
14 event_callback_(NULL), 15 event_callback_(NULL),
15 event_callback_user_data_(NULL) { 16 event_callback_user_data_(NULL) {
16 SendCreate(BROWSER, PpapiHostMsg_Talk_Create()); 17 SendCreate(BROWSER, PpapiHostMsg_Talk_Create());
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 105
105 void TalkResource::OnStopRemotingReply( 106 void TalkResource::OnStopRemotingReply(
106 const ResourceMessageReplyParams& params) { 107 const ResourceMessageReplyParams& params) {
107 event_callback_ = NULL; 108 event_callback_ = NULL;
108 event_callback_user_data_ = NULL; 109 event_callback_user_data_ = NULL;
109 stop_callback_->Run(params.result()); 110 stop_callback_->Run(params.result());
110 } 111 }
111 112
112 } // namespace proxy 113 } // namespace proxy
113 } // namespace ppapi 114 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/host_resolver_resource_base.cc ('k') | ppapi/proxy/truetype_font_singleton_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698