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

Side by Side Diff: storage/browser/fileapi/file_system_file_stream_reader.cc

Issue 908833002: Move some file api files to fileapi folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
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 "storage/browser/fileapi/file_system_file_stream_reader.h" 5 #include "storage/browser/fileapi/file_system_file_stream_reader.h"
6 6
7 #include "base/files/file_util_proxy.h" 7 #include "base/files/file_util_proxy.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "net/base/file_stream.h" 9 #include "net/base/file_stream.h"
10 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
11 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
12 #include "storage/browser/blob/file_stream_reader.h" 12 #include "storage/browser/fileapi/file_stream_reader.h"
13 #include "storage/browser/fileapi/file_system_context.h" 13 #include "storage/browser/fileapi/file_system_context.h"
14 #include "storage/browser/fileapi/file_system_operation_runner.h" 14 #include "storage/browser/fileapi/file_system_operation_runner.h"
15 15
16 using storage::FileStreamReader; 16 using storage::FileStreamReader;
17 17
18 // TODO(kinuko): Remove this temporary namespace hack after we move both 18 // TODO(kinuko): Remove this temporary namespace hack after we move both
19 // blob and fileapi into content namespace. 19 // blob and fileapi into content namespace.
20 namespace storage { 20 namespace storage {
21 21
22 FileStreamReader* FileStreamReader::CreateForFileSystemFile( 22 FileStreamReader* FileStreamReader::CreateForFileSystemFile(
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 local_file_reader_.reset( 132 local_file_reader_.reset(
133 FileStreamReader::CreateForLocalFile( 133 FileStreamReader::CreateForLocalFile(
134 file_system_context_->default_file_task_runner(), 134 file_system_context_->default_file_task_runner(),
135 platform_path, initial_offset_, expected_modification_time_)); 135 platform_path, initial_offset_, expected_modification_time_));
136 136
137 callback.Run(); 137 callback.Run();
138 } 138 }
139 139
140 } // namespace storage 140 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_system_file_stream_reader.h ('k') | storage/browser/fileapi/file_system_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698