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

Side by Side Diff: chrome/browser/file_system/file_system_backend.h

Issue 3347005: Moving file_util::FileInfo to base::PlatformFileInfo, and adding the... (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_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_H_
6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_H_ 6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 base::PlatformFileError rv, base::PassPlatformFile file, bool created); 52 base::PlatformFileError rv, base::PassPlatformFile file, bool created);
53 53
54 // Returns success even if the file already existed. 54 // Returns success even if the file already existed.
55 void DidCreateFileNonExclusive( 55 void DidCreateFileNonExclusive(
56 base::PlatformFileError rv, base::PassPlatformFile file, bool created); 56 base::PlatformFileError rv, base::PassPlatformFile file, bool created);
57 57
58 // Generic callback that translates platform errors to WebKit error codes. 58 // Generic callback that translates platform errors to WebKit error codes.
59 void DidFinishFileOperation(base::PlatformFileError rv); 59 void DidFinishFileOperation(base::PlatformFileError rv);
60 60
61 void DidDirectoryExists(base::PlatformFileError rv, 61 void DidDirectoryExists(base::PlatformFileError rv,
62 const file_util::FileInfo& file_info); 62 const base::PlatformFileInfo& file_info);
63 63
64 void DidFileExists(base::PlatformFileError rv, 64 void DidFileExists(base::PlatformFileError rv,
65 const file_util::FileInfo& file_info); 65 const base::PlatformFileInfo& file_info);
66 66
67 void DidGetMetadata(base::PlatformFileError rv, 67 void DidGetMetadata(base::PlatformFileError rv,
68 const file_util::FileInfo& file_info); 68 const base::PlatformFileInfo& file_info);
69 69
70 void DidReadDirectory( 70 void DidReadDirectory(
71 base::PlatformFileError rv, 71 base::PlatformFileError rv,
72 const std::vector<base::file_util_proxy::Entry>& entries); 72 const std::vector<base::file_util_proxy::Entry>& entries);
73 73
74 // Not owned. 74 // Not owned.
75 FileSystemBackendClient* client_; 75 FileSystemBackendClient* client_;
76 // Client's request id. 76 // Client's request id.
77 int request_id_; 77 int request_id_;
78 base::ScopedCallbackFactory<FileSystemBackend> callback_factory_; 78 base::ScopedCallbackFactory<FileSystemBackend> callback_factory_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); 80 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend);
81 }; 81 };
82 82
83 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_H_ 83 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698