Index: android_webview/browser/input_stream_impl.cc |
diff --git a/android_webview/native/input_stream_impl.cc b/android_webview/browser/input_stream_impl.cc |
similarity index 94% |
rename from android_webview/native/input_stream_impl.cc |
rename to android_webview/browser/input_stream_impl.cc |
index a2310cf246fc04cebd71228f81bb2bdd466d7b4e..62b972dd76d3a253a2771510ed1fe79126fa3409 100644 |
--- a/android_webview/native/input_stream_impl.cc |
+++ b/android_webview/browser/input_stream_impl.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "android_webview/native/input_stream_impl.h" |
+#include "android_webview/browser/input_stream_impl.h" |
#include "base/android/jni_android.h" |
// Disable "Warnings treated as errors" for input_stream_jni as it's a Java |
@@ -24,7 +24,6 @@ namespace { |
// This should be the same as InputStramUtil.EXCEPTION_THROWN_STATUS. |
const int kExceptionThrownStatusCode = -2; |
- |
} |
// Maximum number of bytes to be read in a single read. |
@@ -32,15 +31,14 @@ const int InputStreamImpl::kBufferSize = 4096; |
// static |
const InputStreamImpl* InputStreamImpl::FromInputStream( |
- const InputStream* input_stream) { |
- return static_cast<const InputStreamImpl*>(input_stream); |
+ const InputStream* input_stream) { |
+ return static_cast<const InputStreamImpl*>(input_stream); |
} |
// TODO: Use unsafe version for all Java_InputStream methods in this file |
// once BUG 157880 is fixed and implement graceful exception handling. |
-InputStreamImpl::InputStreamImpl() { |
-} |
+InputStreamImpl::InputStreamImpl() {} |
InputStreamImpl::InputStreamImpl(const JavaRef<jobject>& stream) |
: jobject_(stream) { |
@@ -128,4 +126,4 @@ bool InputStreamImpl::Read(net::IOBuffer* dest, int length, int* bytes_read) { |
return true; |
} |
-} // namespace android_webview |
+} // namespace android_webview |