OLD | NEW |
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 "webkit/plugins/ppapi/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/shared_impl/ppapi_preferences.h" | 10 #include "ppapi/shared_impl/ppapi_preferences.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 return false; | 136 return false; |
137 } | 137 } |
138 | 138 |
139 bool MockPluginDelegate::AsyncOpenFile(const FilePath& path, | 139 bool MockPluginDelegate::AsyncOpenFile(const FilePath& path, |
140 int flags, | 140 int flags, |
141 const AsyncOpenFileCallback& callback) { | 141 const AsyncOpenFileCallback& callback) { |
142 return false; | 142 return false; |
143 } | 143 } |
144 | 144 |
145 bool MockPluginDelegate::AsyncOpenFileSystemURL( | 145 bool MockPluginDelegate::AsyncOpenFileSystemURL( |
146 const GURL& path, int flags, const AsyncOpenFileCallback& callback) { | 146 const GURL& path, |
| 147 int flags, |
| 148 const AsyncOpenFileSystemURLCallback& callback) { |
147 return false; | 149 return false; |
148 } | 150 } |
149 | 151 |
150 bool MockPluginDelegate::OpenFileSystem( | 152 bool MockPluginDelegate::OpenFileSystem( |
151 const GURL& url, | 153 const GURL& url, |
152 fileapi::FileSystemType type, | 154 fileapi::FileSystemType type, |
153 long long size, | 155 long long size, |
154 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 156 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
155 return false; | 157 return false; |
156 } | 158 } |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 MockPluginDelegate::CreateClipboardClient() const { | 461 MockPluginDelegate::CreateClipboardClient() const { |
460 return NULL; | 462 return NULL; |
461 } | 463 } |
462 | 464 |
463 std::string MockPluginDelegate::GetDeviceID() { | 465 std::string MockPluginDelegate::GetDeviceID() { |
464 return std::string(); | 466 return std::string(); |
465 } | 467 } |
466 | 468 |
467 } // namespace ppapi | 469 } // namespace ppapi |
468 } // namespace webkit | 470 } // namespace webkit |
OLD | NEW |