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

Side by Side Diff: chrome/browser/file_system/file_system_backend_client.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_CLIENT_H_ 5 #ifndef CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_CLIENT_H_
6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_CLIENT_H_ 6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_util_proxy.h" 10 #include "base/file_util_proxy.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebFileError.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebFileError.h"
12 12
13 // Interface for client of FileSystemBackend. 13 // Interface for client of FileSystemBackend.
14 class FileSystemBackendClient { 14 class FileSystemBackendClient {
15 public: 15 public:
16 virtual ~FileSystemBackendClient() {} 16 virtual ~FileSystemBackendClient() {}
17 17
18 virtual void DidFail(WebKit::WebFileError status, int request_id) = 0; 18 virtual void DidFail(WebKit::WebFileError status, int request_id) = 0;
19 19
20 virtual void DidSucceed(int request_id) = 0; 20 virtual void DidSucceed(int request_id) = 0;
21 21
22 // Info about the file entry such as modification date and size. 22 // Info about the file entry such as modification date and size.
23 virtual void DidReadMetadata(const file_util::FileInfo& info, 23 virtual void DidReadMetadata(const base::PlatformFileInfo& info,
24 int request_id) = 0; 24 int request_id) = 0;
25 25
26 virtual void DidReadDirectory( 26 virtual void DidReadDirectory(
27 const std::vector<base::file_util_proxy::Entry>& entries, 27 const std::vector<base::file_util_proxy::Entry>& entries,
28 bool has_more, 28 bool has_more,
29 int request_id) = 0; 29 int request_id) = 0;
30 }; 30 };
31 31
32 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_CLIENT_H_ 32 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_BACKEND_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698