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

Side by Side Diff: chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader.h

Issue 2411323002: arc: Empty implementation of ARC content file system (Closed)
Patch Set: Address comments Created 4 years, 2 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_FILE_STREAM_ READER_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_FILE_STREAM_ READER_H_
7
8 #include "storage/browser/fileapi/file_stream_reader.h"
9
10 namespace arc {
11
12 class ArcContentFileSystemFileStreamReader : public storage::FileStreamReader {
13 public:
14 ArcContentFileSystemFileStreamReader(const storage::FileSystemURL& url,
15 int64_t offset,
16 int64_t max_bytes_to_read);
17 ~ArcContentFileSystemFileStreamReader() override;
18
19 // storage::FileStreamReader override:
20 int Read(net::IOBuffer* buffer,
21 int buffer_length,
22 const net::CompletionCallback& callback) override;
23 int64_t GetLength(const net::Int64CompletionCallback& callback) override;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(ArcContentFileSystemFileStreamReader);
27 };
28
29 } // namespace arc
30
31 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_CONTENT_FILE_SYSTEM_FILE_STRE AM_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698