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

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

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const base::Closure& callback, 82 const base::Closure& callback,
83 scoped_refptr<fileapi::FileSystemContext> file_system_context); 83 scoped_refptr<fileapi::FileSystemContext> file_system_context);
84 void OpenFileSystem( 84 void OpenFileSystem(
85 ppapi::host::ReplyMessageContext reply_context, 85 ppapi::host::ReplyMessageContext reply_context,
86 fileapi::FileSystemType file_system_type, 86 fileapi::FileSystemType file_system_type,
87 scoped_refptr<fileapi::FileSystemContext> file_system_context); 87 scoped_refptr<fileapi::FileSystemContext> file_system_context);
88 void OpenFileSystemComplete( 88 void OpenFileSystemComplete(
89 ppapi::host::ReplyMessageContext reply_context, 89 ppapi::host::ReplyMessageContext reply_context,
90 const GURL& root, 90 const GURL& root,
91 const std::string& name, 91 const std::string& name,
92 base::PlatformFileError error); 92 base::File::Error error);
93 void OpenIsolatedFileSystem( 93 void OpenIsolatedFileSystem(
94 ppapi::host::ReplyMessageContext reply_context, 94 ppapi::host::ReplyMessageContext reply_context,
95 const std::string& fsid, 95 const std::string& fsid,
96 PP_IsolatedFileSystemType_Private type, 96 PP_IsolatedFileSystemType_Private type,
97 scoped_refptr<fileapi::FileSystemContext> file_system_context); 97 scoped_refptr<fileapi::FileSystemContext> file_system_context);
98 void OpenPluginPrivateFileSystem( 98 void OpenPluginPrivateFileSystem(
99 ppapi::host::ReplyMessageContext reply_context, 99 ppapi::host::ReplyMessageContext reply_context,
100 const std::string& fsid, 100 const std::string& fsid,
101 scoped_refptr<fileapi::FileSystemContext> file_system_context); 101 scoped_refptr<fileapi::FileSystemContext> file_system_context);
102 void OpenPluginPrivateFileSystemComplete( 102 void OpenPluginPrivateFileSystemComplete(
103 ppapi::host::ReplyMessageContext reply_context, 103 ppapi::host::ReplyMessageContext reply_context,
104 const std::string& fsid, 104 const std::string& fsid,
105 base::PlatformFileError error); 105 base::File::Error error);
106 106
107 int32_t OnHostMsgOpen( 107 int32_t OnHostMsgOpen(
108 ppapi::host::HostMessageContext* context, 108 ppapi::host::HostMessageContext* context,
109 int64_t expected_size); 109 int64_t expected_size);
110 int32_t OnHostMsgInitIsolatedFileSystem( 110 int32_t OnHostMsgInitIsolatedFileSystem(
111 ppapi::host::HostMessageContext* context, 111 ppapi::host::HostMessageContext* context,
112 const std::string& fsid, 112 const std::string& fsid,
113 PP_IsolatedFileSystemType_Private type); 113 PP_IsolatedFileSystemType_Private type);
114 int32_t OnHostMsgReserveQuota( 114 int32_t OnHostMsgReserveQuota(
115 ppapi::host::HostMessageContext* context, 115 ppapi::host::HostMessageContext* context,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 std::string fsid_; // used only for isolated filesystems. 171 std::string fsid_; // used only for isolated filesystems.
172 172
173 base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_; 173 base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_;
174 174
175 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost); 175 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost);
176 }; 176 };
177 177
178 } // namespace content 178 } // namespace content
179 179
180 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_ H_ 180 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698