| OLD | NEW | 
|    1 // Copyright 2014 The Chromium Authors. All rights reserved. |    1 // Copyright 2014 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 #include "android_webview/native/aw_web_resource_response_impl.h" |    5 #include "android_webview/native/aw_web_resource_response_impl.h" | 
|    6  |    6  | 
|    7 #include "android_webview/native/input_stream_impl.h" |    7 #include "android_webview/native/input_stream_impl.h" | 
|    8 #include "base/android/jni_android.h" |    8 #include "base/android/jni_android.h" | 
|    9 #include "base/android/jni_array.h" |    9 #include "base/android/jni_array.h" | 
|   10 #include "base/android/jni_string.h" |   10 #include "base/android/jni_string.h" | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   91   DCHECK_EQ(header_values.size(), header_names.size()); |   91   DCHECK_EQ(header_values.size(), header_names.size()); | 
|   92   for(size_t i = 0; i < header_names.size(); ++i) { |   92   for(size_t i = 0; i < header_names.size(); ++i) { | 
|   93     std::string header_line(header_names[i]); |   93     std::string header_line(header_names[i]); | 
|   94     header_line.append(": "); |   94     header_line.append(": "); | 
|   95     header_line.append(header_values[i]); |   95     header_line.append(header_values[i]); | 
|   96     headers->AddHeader(header_line); |   96     headers->AddHeader(header_line); | 
|   97   } |   97   } | 
|   98   return true; |   98   return true; | 
|   99 } |   99 } | 
|  100  |  100  | 
|  101 bool RegisterAwWebResourceResponse(JNIEnv* env) { |  | 
|  102   return RegisterNativesImpl(env); |  | 
|  103 } |  | 
|  104  |  | 
|  105 } // namespace android_webview |  101 } // namespace android_webview | 
| OLD | NEW |