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

Side by Side Diff: webkit/fileapi/obfuscated_file_util.h

Issue 14612002: [FileAPI] Disable usage cache for origin after file opening for pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 void DropDatabases(); 234 void DropDatabases();
235 bool InitOriginDatabase(bool create); 235 bool InitOriginDatabase(bool create);
236 236
237 base::PlatformFileError GenerateNewLocalPath( 237 base::PlatformFileError GenerateNewLocalPath(
238 FileSystemDirectoryDatabase* db, 238 FileSystemDirectoryDatabase* db,
239 FileSystemOperationContext* context, 239 FileSystemOperationContext* context,
240 const GURL& origin, 240 const GURL& origin,
241 FileSystemType type, 241 FileSystemType type,
242 base::FilePath* local_path); 242 base::FilePath* local_path);
243 243
244 base::PlatformFileError CreateOrOpenInternal(
245 FileSystemOperationContext* context,
246 const FileSystemURL& url,
247 int file_flags,
248 base::PlatformFile* file_handle,
249 bool* created);
250
244 typedef std::map<std::string, FileSystemDirectoryDatabase*> DirectoryMap; 251 typedef std::map<std::string, FileSystemDirectoryDatabase*> DirectoryMap;
245 DirectoryMap directories_; 252 DirectoryMap directories_;
246 scoped_ptr<FileSystemOriginDatabase> origin_database_; 253 scoped_ptr<FileSystemOriginDatabase> origin_database_;
247 base::FilePath file_system_directory_; 254 base::FilePath file_system_directory_;
248 base::OneShotTimer<ObfuscatedFileUtil> timer_; 255 base::OneShotTimer<ObfuscatedFileUtil> timer_;
249 256
250 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil); 257 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil);
251 }; 258 };
252 259
253 } // namespace fileapi 260 } // namespace fileapi
254 261
255 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 262 #endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/fileapi/obfuscated_file_util.cc » ('j') | webkit/fileapi/obfuscated_file_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698