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

Unified Diff: net/url_request/url_request_file_dir_job.h

Issue 11437: Port directory lister so test shell can view file directories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/net_lib.scons ('k') | net/url_request/url_request_file_dir_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_file_dir_job.h
===================================================================
--- net/url_request/url_request_file_dir_job.h (revision 5618)
+++ net/url_request/url_request_file_dir_job.h (working copy)
@@ -5,11 +5,13 @@
#ifndef NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__
#define NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H__
+#include "base/file_util.h"
#include "net/base/directory_lister.h"
#include "net/url_request/url_request_job.h"
-class URLRequestFileDirJob : public URLRequestJob,
- public net::DirectoryLister::Delegate {
+class URLRequestFileDirJob
+ : public URLRequestJob,
+ public net::DirectoryLister::DirectoryListerDelegate {
public:
URLRequestFileDirJob(URLRequest* request, const std::wstring& dir_path);
virtual ~URLRequestFileDirJob();
@@ -22,8 +24,8 @@
virtual bool GetMimeType(std::string* mime_type);
virtual bool GetCharset(std::string* charset);
- // DirectoryLister::Delegate methods:
- virtual void OnListFile(const WIN32_FIND_DATA& data);
+ // DirectoryLister::DirectoryListerDelegate methods:
+ virtual void OnListFile(const file_util::FileEnumerator::FindInfo& data);
virtual void OnListDone(int error);
private:
« no previous file with comments | « net/net_lib.scons ('k') | net/url_request/url_request_file_dir_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698