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

Side by Side Diff: webkit/fileapi/file_system_dir_url_request_job.h

Issue 10920087: Update callers of CreateFileSystemOperation so more detailed error codes can be returned. Where app… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 private: 46 private:
47 class CallbackDispatcher; 47 class CallbackDispatcher;
48 48
49 virtual ~FileSystemDirURLRequestJob(); 49 virtual ~FileSystemDirURLRequestJob();
50 50
51 void StartAsync(); 51 void StartAsync();
52 void DidReadDirectory(base::PlatformFileError result, 52 void DidReadDirectory(base::PlatformFileError result,
53 const std::vector<base::FileUtilProxy::Entry>& entries, 53 const std::vector<base::FileUtilProxy::Entry>& entries,
54 bool has_more); 54 bool has_more);
55 FileSystemOperation* GetNewOperation(); 55 FileSystemOperation* GetNewOperation(base::PlatformFileError* error_code);
56 56
57 std::string data_; 57 std::string data_;
58 FileSystemURL url_; 58 FileSystemURL url_;
59 FileSystemContext* file_system_context_; 59 FileSystemContext* file_system_context_;
60 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_; 60 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob); 62 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob);
63 }; 63 };
64 64
65 } // namespace fileapi 65 } // namespace fileapi
66 66
67 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ 67 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_context.cc ('k') | webkit/fileapi/file_system_dir_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698