OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/plugins/ppapi/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
6 | 6 |
7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
8 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
9 #include "ppapi/shared_impl/ppapi_preferences.h" | 9 #include "ppapi/shared_impl/ppapi_preferences.h" |
10 | 10 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 252 |
253 void MockPluginDelegate::DidStopLoading() { | 253 void MockPluginDelegate::DidStopLoading() { |
254 } | 254 } |
255 | 255 |
256 void MockPluginDelegate::SetContentRestriction(int restrictions) { | 256 void MockPluginDelegate::SetContentRestriction(int restrictions) { |
257 } | 257 } |
258 | 258 |
259 void MockPluginDelegate::SaveURLAs(const GURL& url) { | 259 void MockPluginDelegate::SaveURLAs(const GURL& url) { |
260 } | 260 } |
261 | 261 |
262 content::P2PSocketDispatcher* MockPluginDelegate::GetP2PSocketDispatcher() { | |
263 return NULL; | |
264 } | |
265 | |
266 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() { | 262 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() { |
267 return NULL; | 263 return NULL; |
268 } | 264 } |
269 | 265 |
270 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) { | 266 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) { |
271 return 0.0; | 267 return 0.0; |
272 } | 268 } |
273 | 269 |
274 std::string MockPluginDelegate::GetFlashCommandLineArgs() { | 270 std::string MockPluginDelegate::GetFlashCommandLineArgs() { |
275 return std::string(); | 271 return std::string(); |
276 } | 272 } |
277 | 273 |
278 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( | 274 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( |
279 uint32_t size) { | 275 uint32_t size) { |
280 return NULL; | 276 return NULL; |
281 } | 277 } |
282 | 278 |
283 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { | 279 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { |
284 return ::ppapi::Preferences(); | 280 return ::ppapi::Preferences(); |
285 } | 281 } |
286 | 282 |
287 } // namespace ppapi | 283 } // namespace ppapi |
288 } // namespace webkit | 284 } // namespace webkit |
OLD | NEW |