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

Unified Diff: android_webview/browser/input_stream_unittest.cc

Issue 2863233002: [WebView] Move files from native to browser (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/input_stream_unittest.cc
diff --git a/android_webview/native/input_stream_unittest.cc b/android_webview/browser/input_stream_unittest.cc
similarity index 98%
rename from android_webview/native/input_stream_unittest.cc
rename to android_webview/browser/input_stream_unittest.cc
index 5cd80320810104a073f2eee6afd4def7aa889ee2..5ee9ebf211d71e25bdf29938fa5e2ecb1cdcf21f 100644
--- a/android_webview/native/input_stream_unittest.cc
+++ b/android_webview/browser/input_stream_unittest.cc
@@ -4,7 +4,7 @@
#include <memory>
-#include "android_webview/native/input_stream_impl.h"
+#include "android_webview/browser/input_stream_impl.h"
#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
#include "jni/InputStreamUnittest_jni.h"
@@ -32,8 +32,8 @@ using testing::_;
class InputStreamTest : public Test {
public:
- InputStreamTest() {
- }
+ InputStreamTest() {}
+
protected:
void SetUp() override {
env_ = AttachCurrentThread();
@@ -131,7 +131,6 @@ TEST_F(InputStreamTest, DoesNotCrashWhenExceptionThrown) {
int bytes_available;
EXPECT_FALSE(input_stream->BytesAvailable(&bytes_available));
-
const int bytes_requested = 10;
int bytes_read = 0;
scoped_refptr<IOBuffer> buffer = new IOBuffer(bytes_requested);

Powered by Google App Engine
This is Rietveld 408576698