Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 10541113: Notify CloseFile from Pepper to FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reflect review comments. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 return false; 131 return false;
132 } 132 }
133 133
134 bool MockPluginDelegate::AsyncOpenFile(const FilePath& path, 134 bool MockPluginDelegate::AsyncOpenFile(const FilePath& path,
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,
142 int flags,
143 const AsyncOpenFileSystemURLCallback& callback) {
142 return false; 144 return false;
143 } 145 }
144 146
145 bool MockPluginDelegate::OpenFileSystem( 147 bool MockPluginDelegate::OpenFileSystem(
146 const GURL& url, 148 const GURL& url,
147 fileapi::FileSystemType type, 149 fileapi::FileSystemType type,
148 long long size, 150 long long size,
149 fileapi::FileSystemCallbackDispatcher* dispatcher) { 151 fileapi::FileSystemCallbackDispatcher* dispatcher) {
150 return false; 152 return false;
151 } 153 }
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 MockPluginDelegate::CreateClipboardClient() const { 456 MockPluginDelegate::CreateClipboardClient() const {
455 return NULL; 457 return NULL;
456 } 458 }
457 459
458 std::string MockPluginDelegate::GetDeviceID() { 460 std::string MockPluginDelegate::GetDeviceID() {
459 return std::string(); 461 return std::string();
460 } 462 }
461 463
462 } // namespace ppapi 464 } // namespace ppapi
463 } // namespace webkit 465 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698