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

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.h

Issue 7433006: Pepper quota support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated Created 9 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) 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 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <map> 10 #include <map>
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 const base::Time& last_access_time, 215 const base::Time& last_access_time,
216 const base::Time& last_modified_time, 216 const base::Time& last_modified_time,
217 fileapi::FileSystemCallbackDispatcher* dispatcher); 217 fileapi::FileSystemCallbackDispatcher* dispatcher);
218 virtual bool Delete(const GURL& path, 218 virtual bool Delete(const GURL& path,
219 fileapi::FileSystemCallbackDispatcher* dispatcher); 219 fileapi::FileSystemCallbackDispatcher* dispatcher);
220 virtual bool Rename(const GURL& file_path, 220 virtual bool Rename(const GURL& file_path,
221 const GURL& new_file_path, 221 const GURL& new_file_path,
222 fileapi::FileSystemCallbackDispatcher* dispatcher); 222 fileapi::FileSystemCallbackDispatcher* dispatcher);
223 virtual bool ReadDirectory(const GURL& directory_path, 223 virtual bool ReadDirectory(const GURL& directory_path,
224 fileapi::FileSystemCallbackDispatcher* dispatcher); 224 fileapi::FileSystemCallbackDispatcher* dispatcher);
225 virtual bool QueryAvailableSpace(const GURL& origin,
226 quota::StorageType type,
227 AvailableSpaceCallback* callback);
228 virtual void NotifyStorageModified(quota::QuotaClient::ID client_id,
229 const GURL& origin,
230 quota::StorageType type,
231 int64 delta);
225 virtual base::PlatformFileError OpenFile( 232 virtual base::PlatformFileError OpenFile(
226 const webkit::ppapi::PepperFilePath& path, 233 const webkit::ppapi::PepperFilePath& path,
227 int flags, 234 int flags,
228 base::PlatformFile* file); 235 base::PlatformFile* file);
229 virtual base::PlatformFileError RenameFile( 236 virtual base::PlatformFileError RenameFile(
230 const webkit::ppapi::PepperFilePath& from_path, 237 const webkit::ppapi::PepperFilePath& from_path,
231 const webkit::ppapi::PepperFilePath& to_path); 238 const webkit::ppapi::PepperFilePath& to_path);
232 virtual base::PlatformFileError DeleteFileOrDir( 239 virtual base::PlatformFileError DeleteFileOrDir(
233 const webkit::ppapi::PepperFilePath& path, 240 const webkit::ppapi::PepperFilePath& path,
234 bool recursive); 241 bool recursive);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; 320 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap;
314 BrokerMap pending_connect_broker_; 321 BrokerMap pending_connect_broker_;
315 322
316 // Whether or not the focus is on a PPAPI plugin 323 // Whether or not the focus is on a PPAPI plugin
317 bool is_pepper_plugin_focused_; 324 bool is_pepper_plugin_focused_;
318 325
319 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 326 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
320 }; 327 };
321 328
322 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 329 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698