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

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: reorder headers to satisfy presubmit check 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 "base/bind.h"
6 #include "ppapi/proxy/ppapi_messages.h"
5 #include "ppapi/proxy/talk_resource.h" 7 #include "ppapi/proxy/talk_resource.h"
viettrungluu 2013/07/12 21:52:12 "
Mostyn Bramley-Moore 2013/07/13 06:40:15 Done.
6 8
7 #include "ppapi/proxy/ppapi_messages.h"
8
9 namespace ppapi { 9 namespace ppapi {
10 namespace proxy { 10 namespace proxy {
11 11
12 TalkResource::TalkResource(Connection connection, PP_Instance instance) 12 TalkResource::TalkResource(Connection connection, PP_Instance instance)
13 : PluginResource(connection, instance), 13 : PluginResource(connection, instance),
14 event_callback_(NULL), 14 event_callback_(NULL),
15 event_callback_user_data_(NULL) { 15 event_callback_user_data_(NULL) {
16 SendCreate(BROWSER, PpapiHostMsg_Talk_Create()); 16 SendCreate(BROWSER, PpapiHostMsg_Talk_Create());
17 } 17 }
18 18
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 void TalkResource::OnStopRemotingReply( 105 void TalkResource::OnStopRemotingReply(
106 const ResourceMessageReplyParams& params) { 106 const ResourceMessageReplyParams& params) {
107 event_callback_ = NULL; 107 event_callback_ = NULL;
108 event_callback_user_data_ = NULL; 108 event_callback_user_data_ = NULL;
109 stop_callback_->Run(params.result()); 109 stop_callback_->Run(params.result());
110 } 110 }
111 111
112 } // namespace proxy 112 } // namespace proxy
113 } // namespace ppapi 113 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698