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

Side by Side Diff: android_webview/browser/aw_contents_client_bridge_unittest.cc

Issue 2928823004: Fix header guard and namespace in android_webview (Closed)
Patch Set: Fix header guard and namespace in android_webview Created 3 years, 6 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 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/browser/aw_contents_client_bridge.h" 5 #include "android_webview/browser/aw_contents_client_bridge.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 cert_request_info_.get(), 151 cert_request_info_.get(),
152 base::WrapUnique(new TestClientCertificateDelegate(this))); 152 base::WrapUnique(new TestClientCertificateDelegate(this)));
153 int requestId = Java_MockAwContentsClientBridge_getRequestId(env_, jbridge_); 153 int requestId = Java_MockAwContentsClientBridge_getRequestId(env_, jbridge_);
154 bridge_->ProvideClientCertificateResponse(env_, jbridge_, requestId, nullptr, 154 bridge_->ProvideClientCertificateResponse(env_, jbridge_, requestId, nullptr,
155 nullptr); 155 nullptr);
156 base::RunLoop().RunUntilIdle(); 156 base::RunLoop().RunUntilIdle();
157 EXPECT_EQ(nullptr, selected_cert_); 157 EXPECT_EQ(nullptr, selected_cert_);
158 EXPECT_EQ(1, cert_selected_callbacks_); 158 EXPECT_EQ(1, cert_selected_callbacks_);
159 } 159 }
160 160
161 } // android_webview 161 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698