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

Side by Side Diff: content/renderer/pepper/pepper_flash_host.cc

Issue 11415140: Refactor 3 PPB_Flash functions to the new resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/renderer/pepper/pepper_flash_host.h"
6
7 #include "content/public/renderer/renderer_ppapi_host.h"
8 #include "ppapi/c/pp_errors.h"
9
10 namespace content {
11
12 PepperFlashHost::PepperFlashHost(
13 RendererPpapiHost* host,
14 PP_Instance instance,
15 PP_Resource resource)
16 : ResourceHost(host->GetPpapiHost(), instance, resource) {
17 }
18
19 PepperFlashHost::~PepperFlashHost() {
20 }
21
22 int32_t PepperFlashHost::OnResourceMessageReceived(
23 const IPC::Message& msg,
24 ppapi::host::HostMessageContext* context) {
25 return PP_ERROR_FAILED;
26 }
27 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_flash_host.h ('k') | content/renderer/pepper/pepper_flash_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698