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

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

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

Powered by Google App Engine
This is Rietveld 408576698