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

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

Issue 7433006: Pepper quota support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ppapi/shared_impl/ppapi_preferences.h"
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 fileapi::FileSystemCallbackDispatcher* dispatcher) { 128 fileapi::FileSystemCallbackDispatcher* dispatcher) {
129 return false; 129 return false;
130 } 130 }
131 131
132 bool MockPluginDelegate::ReadDirectory( 132 bool MockPluginDelegate::ReadDirectory(
133 const GURL& directory_path, 133 const GURL& directory_path,
134 fileapi::FileSystemCallbackDispatcher* dispatcher) { 134 fileapi::FileSystemCallbackDispatcher* dispatcher) {
135 return false; 135 return false;
136 } 136 }
137 137
138 void MockPluginDelegate::QueryAvailableSpace(
139 const GURL& origin, quota::StorageType type,
140 AvailableSpaceCallback* callback) {
141 }
142
143 void MockPluginDelegate::WillUpdateFile(const GURL& file_path) {
144 }
145
146 void MockPluginDelegate::DidUpdateFile(const GURL& file_path, int64_t delta) {
147 }
148
138 base::PlatformFileError MockPluginDelegate::OpenFile( 149 base::PlatformFileError MockPluginDelegate::OpenFile(
139 const PepperFilePath& path, 150 const PepperFilePath& path,
140 int flags, 151 int flags,
141 base::PlatformFile* file) { 152 base::PlatformFile* file) {
142 return base::PLATFORM_FILE_ERROR_FAILED; 153 return base::PLATFORM_FILE_ERROR_FAILED;
143 } 154 }
144 155
145 base::PlatformFileError MockPluginDelegate::RenameFile( 156 base::PlatformFileError MockPluginDelegate::RenameFile(
146 const PepperFilePath& from_path, 157 const PepperFilePath& from_path,
147 const PepperFilePath& to_path) { 158 const PepperFilePath& to_path) {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 uint32_t size) { 263 uint32_t size) {
253 return NULL; 264 return NULL;
254 } 265 }
255 266
256 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 267 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
257 return ::ppapi::Preferences(); 268 return ::ppapi::Preferences();
258 } 269 }
259 270
260 } // namespace ppapi 271 } // namespace ppapi
261 } // namespace webkit 272 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698