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

Side by Side Diff: chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/pepper/pepper_flash_fullscreen_host.cc » ('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 "chrome/renderer/pepper/pepper_flash_drm_renderer_host.h" 5 #include "chrome/renderer/pepper/pepper_flash_drm_renderer_host.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "content/public/renderer/ppapi_plugin_instance.h"
8 #include "content/public/renderer/renderer_ppapi_host.h" 9 #include "content/public/renderer/renderer_ppapi_host.h"
9 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/host/dispatch_host_message.h" 11 #include "ppapi/host/dispatch_host_message.h"
11 #include "ppapi/host/host_message_context.h" 12 #include "ppapi/host/host_message_context.h"
12 #include "ppapi/host/ppapi_host.h" 13 #include "ppapi/host/ppapi_host.h"
13 #include "ppapi/proxy/ppapi_messages.h" 14 #include "ppapi/proxy/ppapi_messages.h"
14 #include "ppapi/proxy/ppb_file_ref_proxy.h" 15 #include "ppapi/proxy/ppb_file_ref_proxy.h"
15 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
16 16
17 namespace chrome { 17 namespace chrome {
18 18
19 // TODO(raymes): This is duplicated from pepper_flash_drm_host.cc but once 19 // TODO(raymes): This is duplicated from pepper_flash_drm_host.cc but once
20 // FileRef is refactored to the browser, it won't need to be. 20 // FileRef is refactored to the browser, it won't need to be.
21 namespace { 21 namespace {
22 const base::FilePath::CharType kVoucherFilename[] = 22 const base::FilePath::CharType kVoucherFilename[] =
23 FILE_PATH_LITERAL("plugin.vch"); 23 FILE_PATH_LITERAL("plugin.vch");
24 } // namespace 24 } // namespace
25 25
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ppapi::proxy::PPB_FileRef_Proxy::SerializeFileRef( 60 ppapi::proxy::PPB_FileRef_Proxy::SerializeFileRef(
61 plugin_instance->CreateExternalFileReference(voucher_file), 61 plugin_instance->CreateExternalFileReference(voucher_file),
62 &create_info); 62 &create_info);
63 context->reply_msg = 63 context->reply_msg =
64 PpapiPluginMsg_FlashDRM_GetVoucherFileReply(create_info); 64 PpapiPluginMsg_FlashDRM_GetVoucherFileReply(create_info);
65 return PP_OK; 65 return PP_OK;
66 } 66 }
67 67
68 } // namespace chrome 68 } // namespace chrome
69 69
OLDNEW
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/pepper/pepper_flash_fullscreen_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698