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

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

Issue 7633061: Merge 94892 - Pepper quota support (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 fileapi::FileSystemCallbackDispatcher* dispatcher) { 129 fileapi::FileSystemCallbackDispatcher* dispatcher) {
130 return false; 130 return false;
131 } 131 }
132 132
133 bool MockPluginDelegate::ReadDirectory( 133 bool MockPluginDelegate::ReadDirectory(
134 const GURL& directory_path, 134 const GURL& directory_path,
135 fileapi::FileSystemCallbackDispatcher* dispatcher) { 135 fileapi::FileSystemCallbackDispatcher* dispatcher) {
136 return false; 136 return false;
137 } 137 }
138 138
139 void MockPluginDelegate::QueryAvailableSpace(
140 const GURL& origin, quota::StorageType type,
141 AvailableSpaceCallback* callback) {
142 }
143
144 void MockPluginDelegate::WillUpdateFile(const GURL& file_path) {
145 }
146
147 void MockPluginDelegate::DidUpdateFile(const GURL& file_path, int64_t delta) {
148 }
149
139 base::PlatformFileError MockPluginDelegate::OpenFile( 150 base::PlatformFileError MockPluginDelegate::OpenFile(
140 const PepperFilePath& path, 151 const PepperFilePath& path,
141 int flags, 152 int flags,
142 base::PlatformFile* file) { 153 base::PlatformFile* file) {
143 return base::PLATFORM_FILE_ERROR_FAILED; 154 return base::PLATFORM_FILE_ERROR_FAILED;
144 } 155 }
145 156
146 base::PlatformFileError MockPluginDelegate::RenameFile( 157 base::PlatformFileError MockPluginDelegate::RenameFile(
147 const PepperFilePath& from_path, 158 const PepperFilePath& from_path,
148 const PepperFilePath& to_path) { 159 const PepperFilePath& to_path) {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 uint32_t size) { 270 uint32_t size) {
260 return NULL; 271 return NULL;
261 } 272 }
262 273
263 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 274 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
264 return ::ppapi::Preferences(); 275 return ::ppapi::Preferences();
265 } 276 }
266 277
267 } // namespace ppapi 278 } // namespace ppapi
268 } // namespace webkit 279 } // 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