OLD | NEW |
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 ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_READER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_INPUT_STREAM_READER_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_READER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_NET_INPUT_STREAM_READER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 class HttpByteRange; | 12 class HttpByteRange; |
13 class IOBuffer; | 13 class IOBuffer; |
14 } | 14 } |
15 | 15 |
16 namespace android_webview { | 16 namespace android_webview { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // net::OK is returned on success, the error code otherwise. | 52 // net::OK is returned on success, the error code otherwise. |
53 int SkipToRequestedRange(const net::HttpByteRange& byte_range); | 53 int SkipToRequestedRange(const net::HttpByteRange& byte_range); |
54 | 54 |
55 android_webview::InputStream* stream_; | 55 android_webview::InputStream* stream_; |
56 | 56 |
57 DISALLOW_COPY_AND_ASSIGN(InputStreamReader); | 57 DISALLOW_COPY_AND_ASSIGN(InputStreamReader); |
58 }; | 58 }; |
59 | 59 |
60 } // namespace android_webview | 60 } // namespace android_webview |
61 | 61 |
62 #endif // ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_READER_H_ | 62 #endif // ANDROID_WEBVIEW_BROWSER_NET_INPUT_STREAM_READER_H_ |
OLD | NEW |