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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 187 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
188 return false; | 188 return false; |
189 } | 189 } |
190 | 190 |
191 bool MockPluginDelegate::Query( | 191 bool MockPluginDelegate::Query( |
192 const GURL& path, | 192 const GURL& path, |
193 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 193 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
194 return false; | 194 return false; |
195 } | 195 } |
196 | 196 |
| 197 bool MockPluginDelegate::ReadDirectoryEntries( |
| 198 const GURL& path, |
| 199 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
| 200 return false; |
| 201 } |
| 202 |
197 bool MockPluginDelegate::Touch( | 203 bool MockPluginDelegate::Touch( |
198 const GURL& path, | 204 const GURL& path, |
199 const base::Time& last_access_time, | 205 const base::Time& last_access_time, |
200 const base::Time& last_modified_time, | 206 const base::Time& last_modified_time, |
201 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 207 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
202 return false; | 208 return false; |
203 } | 209 } |
204 | 210 |
205 bool MockPluginDelegate::SetLength( | 211 bool MockPluginDelegate::SetLength( |
206 const GURL& path, | 212 const GURL& path, |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 bool should_close_source) const { | 413 bool should_close_source) const { |
408 return IPC::InvalidPlatformFileForTransit(); | 414 return IPC::InvalidPlatformFileForTransit(); |
409 } | 415 } |
410 | 416 |
411 bool MockPluginDelegate::IsRunningInProcess(PP_Instance instance) const { | 417 bool MockPluginDelegate::IsRunningInProcess(PP_Instance instance) const { |
412 return false; | 418 return false; |
413 } | 419 } |
414 | 420 |
415 } // namespace ppapi | 421 } // namespace ppapi |
416 } // namespace webkit | 422 } // namespace webkit |
OLD | NEW |