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

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: '' 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 | « content/common/file_system_messages.h ('k') | content/renderer/pepper_plugin_delegate_impl.cc » ('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 #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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 const base::Time& last_access_time, 210 const base::Time& last_access_time,
211 const base::Time& last_modified_time, 211 const base::Time& last_modified_time,
212 fileapi::FileSystemCallbackDispatcher* dispatcher); 212 fileapi::FileSystemCallbackDispatcher* dispatcher);
213 virtual bool Delete(const GURL& path, 213 virtual bool Delete(const GURL& path,
214 fileapi::FileSystemCallbackDispatcher* dispatcher); 214 fileapi::FileSystemCallbackDispatcher* dispatcher);
215 virtual bool Rename(const GURL& file_path, 215 virtual bool Rename(const GURL& file_path,
216 const GURL& new_file_path, 216 const GURL& new_file_path,
217 fileapi::FileSystemCallbackDispatcher* dispatcher); 217 fileapi::FileSystemCallbackDispatcher* dispatcher);
218 virtual bool ReadDirectory(const GURL& directory_path, 218 virtual bool ReadDirectory(const GURL& directory_path,
219 fileapi::FileSystemCallbackDispatcher* dispatcher); 219 fileapi::FileSystemCallbackDispatcher* dispatcher);
220 virtual void QueryAvailableSpace(const GURL& origin,
221 quota::StorageType type,
222 AvailableSpaceCallback* callback);
223 virtual void WillUpdateFile(const GURL& file_path);
224 virtual void DidUpdateFile(const GURL& file_path, int64_t delta);
220 virtual base::PlatformFileError OpenFile( 225 virtual base::PlatformFileError OpenFile(
221 const webkit::ppapi::PepperFilePath& path, 226 const webkit::ppapi::PepperFilePath& path,
222 int flags, 227 int flags,
223 base::PlatformFile* file); 228 base::PlatformFile* file);
224 virtual base::PlatformFileError RenameFile( 229 virtual base::PlatformFileError RenameFile(
225 const webkit::ppapi::PepperFilePath& from_path, 230 const webkit::ppapi::PepperFilePath& from_path,
226 const webkit::ppapi::PepperFilePath& to_path); 231 const webkit::ppapi::PepperFilePath& to_path);
227 virtual base::PlatformFileError DeleteFileOrDir( 232 virtual base::PlatformFileError DeleteFileOrDir(
228 const webkit::ppapi::PepperFilePath& path, 233 const webkit::ppapi::PepperFilePath& path,
229 bool recursive); 234 bool recursive);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; 313 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap;
309 BrokerMap pending_connect_broker_; 314 BrokerMap pending_connect_broker_;
310 315
311 // Whether or not the focus is on a PPAPI plugin 316 // Whether or not the focus is on a PPAPI plugin
312 bool is_pepper_plugin_focused_; 317 bool is_pepper_plugin_focused_;
313 318
314 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 319 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
315 }; 320 };
316 321
317 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 322 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/file_system_messages.h ('k') | content/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698