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

Unified Diff: trunk/src/content/renderer/pepper/content_renderer_pepper_host_factory.cc

Issue 23647008: Revert 221284 "Pepper: Move FileRef to the "new" resource proxy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/renderer/pepper/content_renderer_pepper_host_factory.cc
===================================================================
--- trunk/src/content/renderer/pepper/content_renderer_pepper_host_factory.cc (revision 221543)
+++ trunk/src/content/renderer/pepper/content_renderer_pepper_host_factory.cc (working copy)
@@ -11,7 +11,6 @@
#include "content/renderer/pepper/pepper_audio_input_host.h"
#include "content/renderer/pepper/pepper_file_chooser_host.h"
#include "content/renderer/pepper/pepper_file_io_host.h"
-#include "content/renderer/pepper/pepper_file_ref_renderer_host.h"
#include "content/renderer/pepper/pepper_file_system_host.h"
#include "content/renderer/pepper/pepper_graphics_2d_host.h"
#include "content/renderer/pepper/pepper_truetype_font_host.h"
@@ -76,18 +75,6 @@
case PpapiHostMsg_FileIO_Create::ID:
return scoped_ptr<ResourceHost>(new PepperFileIOHost(
host_, instance, params.pp_resource()));
- case PpapiHostMsg_FileRef_CreateInternal::ID: {
- PP_Resource file_system;
- std::string internal_path;
- if (!UnpackMessage<PpapiHostMsg_FileRef_CreateInternal>(message,
- &file_system,
- &internal_path)) {
- NOTREACHED();
- return scoped_ptr<ResourceHost>();
- }
- return scoped_ptr<ResourceHost>(new PepperFileRefRendererHost(
- host_, instance, params.pp_resource(), file_system, internal_path));
- }
case PpapiHostMsg_FileSystem_Create::ID: {
PP_FileSystemType file_system_type;
if (!UnpackMessage<PpapiHostMsg_FileSystem_Create>(message,
« no previous file with comments | « trunk/src/content/public/renderer/renderer_ppapi_host.h ('k') | trunk/src/content/renderer/pepper/mock_renderer_ppapi_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698