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

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

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: 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 #include "webkit/fileapi/file_system_dir_url_request_job.h" 5 #include "webkit/fileapi/file_system_dir_url_request_job.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 GetNewOperation()->ReadDirectory( 127 GetNewOperation()->ReadDirectory(
128 url_, 128 url_,
129 base::Bind(&FileSystemDirURLRequestJob::DidReadDirectory, this)); 129 base::Bind(&FileSystemDirURLRequestJob::DidReadDirectory, this));
130 } else { 130 } else {
131 set_expected_content_size(data_.size()); 131 set_expected_content_size(data_.size());
132 NotifyHeadersComplete(); 132 NotifyHeadersComplete();
133 } 133 }
134 } 134 }
135 135
136 FileSystemOperation* FileSystemDirURLRequestJob::GetNewOperation() { 136 FileSystemOperation* FileSystemDirURLRequestJob::GetNewOperation() {
137 return file_system_context_->CreateFileSystemOperation(url_); 137 return file_system_context_->CreateFileSystemOperation(url_, NULL);
138 } 138 }
139 139
140 } // namespace fileapi 140 } // namespace fileapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698