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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 int flags, | 135 int flags, |
136 const AsyncOpenFileCallback& callback) { | 136 const AsyncOpenFileCallback& callback) { |
137 return false; | 137 return false; |
138 } | 138 } |
139 | 139 |
140 bool MockPluginDelegate::AsyncOpenFileSystemURL( | 140 bool MockPluginDelegate::AsyncOpenFileSystemURL( |
141 const GURL& path, int flags, const AsyncOpenFileCallback& callback) { | 141 const GURL& path, int flags, const AsyncOpenFileCallback& callback) { |
142 return false; | 142 return false; |
143 } | 143 } |
144 | 144 |
| 145 base::Callback<void (base::PlatformFileError)> |
| 146 MockPluginDelegate::GetCloseFileSystemURLCallback(const GURL& path) { |
| 147 return base::Callback<void (base::PlatformFileError)>(); |
| 148 } |
| 149 |
145 bool MockPluginDelegate::OpenFileSystem( | 150 bool MockPluginDelegate::OpenFileSystem( |
146 const GURL& url, | 151 const GURL& url, |
147 fileapi::FileSystemType type, | 152 fileapi::FileSystemType type, |
148 long long size, | 153 long long size, |
149 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 154 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
150 return false; | 155 return false; |
151 } | 156 } |
152 | 157 |
153 bool MockPluginDelegate::MakeDirectory( | 158 bool MockPluginDelegate::MakeDirectory( |
154 const GURL& path, | 159 const GURL& path, |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 MockPluginDelegate::CreateClipboardClient() const { | 459 MockPluginDelegate::CreateClipboardClient() const { |
455 return NULL; | 460 return NULL; |
456 } | 461 } |
457 | 462 |
458 std::string MockPluginDelegate::GetDeviceID() { | 463 std::string MockPluginDelegate::GetDeviceID() { |
459 return std::string(); | 464 return std::string(); |
460 } | 465 } |
461 | 466 |
462 } // namespace ppapi | 467 } // namespace ppapi |
463 } // namespace webkit | 468 } // namespace webkit |
OLD | NEW |