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

Side by Side Diff: content/browser/renderer_host/pepper/pepper_file_io_host.h

Issue 306403005: Pepper: Use an adaptor to invoke FileSystemOperationRunner::OpenFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add base:: Created 6 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PEPPER_FILE_IO_HOST_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // Valid only for PP_FILESYSTEMTYPE_LOCAL{PERSISTENT,TEMPORARY}. 129 // Valid only for PP_FILESYSTEMTYPE_LOCAL{PERSISTENT,TEMPORARY}.
130 scoped_refptr<fileapi::FileSystemContext> file_system_context_; 130 scoped_refptr<fileapi::FileSystemContext> file_system_context_;
131 fileapi::FileSystemURL file_system_url_; 131 fileapi::FileSystemURL file_system_url_;
132 base::Closure on_close_callback_; 132 base::Closure on_close_callback_;
133 int64_t max_written_offset_; 133 int64_t max_written_offset_;
134 bool check_quota_; 134 bool check_quota_;
135 135
136 ppapi::FileIOStateManager state_manager_; 136 ppapi::FileIOStateManager state_manager_;
137 137
138 base::WeakPtrFactory<PepperFileIOHost> weak_factory_;
139
140 DISALLOW_COPY_AND_ASSIGN(PepperFileIOHost); 138 DISALLOW_COPY_AND_ASSIGN(PepperFileIOHost);
141 }; 139 };
142 140
143 } // namespace content 141 } // namespace content
144 142
145 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_ 143 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_IO_HOST_H_
OLDNEW
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | content/browser/renderer_host/pepper/pepper_file_io_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698