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

Side by Side Diff: trunk/src/content/renderer/pepper/mock_renderer_ppapi_host.cc

Issue 23462016: Revert 219911 "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 unified diff | Download patch | Annotate | Revision Log
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 "content/renderer/pepper/mock_renderer_ppapi_host.h" 5 #include "content/renderer/pepper/mock_renderer_ppapi_host.h"
6 6
7 #include "ui/gfx/point.h" 7 #include "ui/gfx/point.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 return IPC::InvalidPlatformFileForTransit(); 73 return IPC::InvalidPlatformFileForTransit();
74 } 74 }
75 75
76 bool MockRendererPpapiHost::IsRunningInProcess() const { 76 bool MockRendererPpapiHost::IsRunningInProcess() const {
77 NOTIMPLEMENTED(); 77 NOTIMPLEMENTED();
78 return false; 78 return false;
79 } 79 }
80 80
81 void MockRendererPpapiHost::CreateBrowserResourceHosts( 81 void MockRendererPpapiHost::CreateBrowserResourceHosts(
82 PP_Instance instance, 82 PP_Instance instance,
83 const std::vector<IPC::Message>& nested_msgs, 83 const std::vector<IPC::Message>& nested_msg,
84 const base::Callback<void(const std::vector<int>&)>& callback) const { 84 const base::Callback<void(const std::vector<int>&)>& callback) const {
85 callback.Run(std::vector<int>(nested_msgs.size(), 0)); 85 NOTIMPLEMENTED();
86 callback.Run(std::vector<int>());
86 return; 87 return;
87 } 88 }
88 89
89 } // namespace content 90 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/content/public/renderer/renderer_ppapi_host.h ('k') | trunk/src/content/renderer/pepper/pepper_browser_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698