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

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

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase 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_msg, 83 const std::vector<IPC::Message>& nested_msgs,
84 const base::Callback<void(const std::vector<int>&)>& callback) const { 84 const base::Callback<void(const std::vector<int>&)>& callback) const {
85 NOTIMPLEMENTED(); 85 callback.Run(std::vector<int>(nested_msgs.size(), 0));
86 callback.Run(std::vector<int>());
87 return; 86 return;
88 } 87 }
89 88
90 } // namespace content 89 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/content_renderer_pepper_host_factory.cc ('k') | content/renderer/pepper/pepper_browser_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698