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

Side by Side Diff: ppapi/host/host_message_context.cc

Issue 10909138: Convert the async device ID getter to a chrome resource host (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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/host/host_message_context.h ('k') | ppapi/host/ppapi_host.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) 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/host/host_message_context.h" 5 #include "ppapi/host/host_message_context.h"
6 6
7 namespace ppapi { 7 namespace ppapi {
8 namespace host { 8 namespace host {
9 9
10 HostMessageContext::HostMessageContext( 10 HostMessageContext::HostMessageContext(
11 const ppapi::proxy::ResourceMessageCallParams& cp) 11 const ppapi::proxy::ResourceMessageCallParams& cp)
12 : params(cp) { 12 : params(cp) {
13 } 13 }
14 14
15 HostMessageContext::~HostMessageContext() { 15 HostMessageContext::~HostMessageContext() {
16 } 16 }
17 17
18 ppapi::proxy::ResourceMessageReplyParams HostMessageContext::MakeReplyParams() { 18 ppapi::proxy::ResourceMessageReplyParams
19 HostMessageContext::MakeReplyParams() const {
19 return ppapi::proxy::ResourceMessageReplyParams(params.pp_resource(), 20 return ppapi::proxy::ResourceMessageReplyParams(params.pp_resource(),
20 params.sequence()); 21 params.sequence());
21 } 22 }
22 23
23 } // namespace host 24 } // namespace host
24 } // namespace ppapi 25 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/host/host_message_context.h ('k') | ppapi/host/ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698