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

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

Issue 4261001: Moving Entry from base::file_util_proxy namespace to within class base::FileU... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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_BROWSER_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ 5 #ifndef CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CALLBACK_DISPATCHER_H_
6 #define CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ 6 #define CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CALLBACK_DISPATCHER_H_
7 7
8 #include "webkit/fileapi/file_system_callback_dispatcher.h" 8 #include "webkit/fileapi/file_system_callback_dispatcher.h"
9 9
10 class FileSystemDispatcherHost; 10 class FileSystemDispatcherHost;
11 11
12 class BrowserFileSystemCallbackDispatcher 12 class BrowserFileSystemCallbackDispatcher
13 : public fileapi::FileSystemCallbackDispatcher { 13 : public fileapi::FileSystemCallbackDispatcher {
14 public: 14 public:
15 BrowserFileSystemCallbackDispatcher(FileSystemDispatcherHost* dispatcher_host, 15 BrowserFileSystemCallbackDispatcher(FileSystemDispatcherHost* dispatcher_host,
16 int request_id); 16 int request_id);
17 virtual ~BrowserFileSystemCallbackDispatcher(); 17 virtual ~BrowserFileSystemCallbackDispatcher();
18 18
19 // FileSystemCallbackDispatcher implementation. 19 // FileSystemCallbackDispatcher implementation.
20 virtual void DidSucceed(); 20 virtual void DidSucceed();
21 virtual void DidReadMetadata(const base::PlatformFileInfo& file_info); 21 virtual void DidReadMetadata(const base::PlatformFileInfo& file_info);
22 virtual void DidReadDirectory( 22 virtual void DidReadDirectory(
23 const std::vector<base::file_util_proxy::Entry>& entries, 23 const std::vector<base::FileUtilProxy::Entry>& entries,
24 bool has_more); 24 bool has_more);
25 virtual void DidOpenFileSystem(const std::string& name, 25 virtual void DidOpenFileSystem(const std::string& name,
26 const FilePath& root_path); 26 const FilePath& root_path);
27 virtual void DidFail(base::PlatformFileError error_code); 27 virtual void DidFail(base::PlatformFileError error_code);
28 virtual void DidWrite(int64 bytes, bool complete); 28 virtual void DidWrite(int64 bytes, bool complete);
29 29
30 private: 30 private:
31 scoped_refptr<FileSystemDispatcherHost> dispatcher_host_; 31 scoped_refptr<FileSystemDispatcherHost> dispatcher_host_;
32 int request_id_; 32 int request_id_;
33 }; 33 };
34 34
35 #endif // CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CALLBACK_DISPATCHER_H_ 35 #endif // CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CALLBACK_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698