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 | 10 |
10 namespace webkit { | 11 namespace webkit { |
11 namespace ppapi { | 12 namespace ppapi { |
12 | 13 |
13 MockPluginDelegate::MockPluginDelegate() { | 14 MockPluginDelegate::MockPluginDelegate() { |
14 } | 15 } |
15 | 16 |
16 MockPluginDelegate::~MockPluginDelegate() { | 17 MockPluginDelegate::~MockPluginDelegate() { |
17 } | 18 } |
18 | 19 |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 242 |
242 std::string MockPluginDelegate::GetFlashCommandLineArgs() { | 243 std::string MockPluginDelegate::GetFlashCommandLineArgs() { |
243 return std::string(); | 244 return std::string(); |
244 } | 245 } |
245 | 246 |
246 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( | 247 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( |
247 uint32_t size) { | 248 uint32_t size) { |
248 return NULL; | 249 return NULL; |
249 } | 250 } |
250 | 251 |
| 252 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { |
| 253 return ::ppapi::Preferences(); |
| 254 } |
| 255 |
251 } // namespace ppapi | 256 } // namespace ppapi |
252 } // namespace webkit | 257 } // namespace webkit |
OLD | NEW |