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

Side by Side Diff: android_webview/native/input_stream_impl.h

Issue 2202783002: android_webview: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: android_webview: Remove unneeded RegisterNatives() calls Created 4 years, 4 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 ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_H_
6 #define ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_H_ 6 #define ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "android_webview/browser/input_stream.h" 10 #include "android_webview/browser/input_stream.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Parameterless constructor exposed for testing. 43 // Parameterless constructor exposed for testing.
44 InputStreamImpl(); 44 InputStreamImpl();
45 45
46 private: 46 private:
47 base::android::ScopedJavaGlobalRef<jobject> jobject_; 47 base::android::ScopedJavaGlobalRef<jobject> jobject_;
48 base::android::ScopedJavaGlobalRef<jbyteArray> buffer_; 48 base::android::ScopedJavaGlobalRef<jbyteArray> buffer_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(InputStreamImpl); 50 DISALLOW_COPY_AND_ASSIGN(InputStreamImpl);
51 }; 51 };
52 52
53 bool RegisterInputStream(JNIEnv* env);
54
55 } // namespace android_webview 53 } // namespace android_webview
56 54
57 #endif // ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_H_ 55 #endif // ANDROID_WEBVIEW_NATIVE_INPUT_STREAM_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_web_resource_response_impl.cc ('k') | android_webview/native/input_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698