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

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

Issue 3394017: Pepper's FileSystem implementation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void DidChangeNumberOfFindResults(int identifier, 59 virtual void DidChangeNumberOfFindResults(int identifier,
60 int total, 60 int total,
61 bool final_result); 61 bool final_result);
62 virtual void DidChangeSelectedFindResult(int identifier, int index); 62 virtual void DidChangeSelectedFindResult(int identifier, int index);
63 virtual bool RunFileChooser( 63 virtual bool RunFileChooser(
64 const WebKit::WebFileChooserParams& params, 64 const WebKit::WebFileChooserParams& params,
65 WebKit::WebFileChooserCompletion* chooser_completion); 65 WebKit::WebFileChooserCompletion* chooser_completion);
66 virtual bool AsyncOpenFile(const FilePath& path, 66 virtual bool AsyncOpenFile(const FilePath& path,
67 int flags, 67 int flags,
68 AsyncOpenFileCallback* callback); 68 AsyncOpenFileCallback* callback);
69 virtual bool MakeDirectory(const FilePath& path,
70 bool recursive,
71 fileapi::FileSystemCallbackDispatcher* dispatcher);
72 virtual bool Query(const FilePath& path,
73 fileapi::FileSystemCallbackDispatcher* dispatcher);
74 virtual bool Touch(const FilePath& path,
75 const base::Time& last_access_time,
76 const base::Time& last_modified_time,
77 fileapi::FileSystemCallbackDispatcher* dispatcher);
78 virtual bool Delete(const FilePath& path,
79 fileapi::FileSystemCallbackDispatcher* dispatcher);
80 virtual bool Rename(const FilePath& file_path,
81 const FilePath& new_file_path,
82 fileapi::FileSystemCallbackDispatcher* dispatcher);
69 virtual scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy(); 83 virtual scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy();
70 virtual pepper::FullscreenContainer* CreateFullscreenContainer( 84 virtual pepper::FullscreenContainer* CreateFullscreenContainer(
71 pepper::PluginInstance* instance); 85 pepper::PluginInstance* instance);
72 86
73 private: 87 private:
74 // Pointer to the RenderView that owns us. 88 // Pointer to the RenderView that owns us.
75 RenderView* render_view_; 89 RenderView* render_view_;
76 90
77 std::set<pepper::PluginInstance*> active_instances_; 91 std::set<pepper::PluginInstance*> active_instances_;
78 92
79 int id_generator_; 93 int id_generator_;
80 IDMap<AsyncOpenFileCallback> messages_waiting_replies_; 94 IDMap<AsyncOpenFileCallback> messages_waiting_replies_;
81 95
82 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 96 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
83 }; 97 };
84 98
85 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 99 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | webkit/glue/plugins/pepper_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698