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

Side by Side Diff: storage/browser/blob/file_stream_reader.h

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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_BLOB_FILE_STREAM_READER_H_ 5 #ifndef STORAGE_BLOB_FILE_STREAM_READER_H_
6 #define WEBKIT_BLOB_FILE_STREAM_READER_H_ 6 #define STORAGE_BLOB_FILE_STREAM_READER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file.h" 10 #include "base/files/file.h"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "webkit/browser/storage_browser_export.h" 12 #include "storage/browser/storage_browser_export.h"
13 13
14 namespace base { 14 namespace base {
15 class FilePath; 15 class FilePath;
16 class TaskRunner; 16 class TaskRunner;
17 class Time; 17 class Time;
18 } 18 }
19 19
20 namespace net { 20 namespace net {
21 class IOBuffer; 21 class IOBuffer;
22 } 22 }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // If the stream is deleted while it has an in-flight GetLength operation 89 // If the stream is deleted while it has an in-flight GetLength operation
90 // |callback| will not be called. 90 // |callback| will not be called.
91 // Note that the return type is int64 to return a larger file's size (a file 91 // Note that the return type is int64 to return a larger file's size (a file
92 // larger than 2G) but an error code should fit in the int range (may be 92 // larger than 2G) but an error code should fit in the int range (may be
93 // smaller than int64 range). 93 // smaller than int64 range).
94 virtual int64 GetLength(const net::Int64CompletionCallback& callback) = 0; 94 virtual int64 GetLength(const net::Int64CompletionCallback& callback) = 0;
95 }; 95 };
96 96
97 } // namespace storage 97 } // namespace storage
98 98
99 #endif // WEBKIT_BLOB_FILE_STREAM_READER_H_ 99 #endif // STORAGE_BLOB_FILE_STREAM_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698