OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 #include "net/android/dummy_spnego_authenticator.h" |
| 5 |
| 6 #include "jni/DummySpnegoAuthenticator_jni.h" |
| 7 |
| 8 namespace net { |
| 9 namespace android { |
| 10 |
| 11 void EnsureSpnegoTestAccountExists() { |
| 12 Java_DummySpnegoAuthenticator_ensureTestAccountExists( |
| 13 base::android::AttachCurrentThread()); |
| 14 } |
| 15 |
| 16 void RemoveSpnegoTestAccounts() { |
| 17 Java_DummySpnegoAuthenticator_removeTestAccounts( |
| 18 base::android::AttachCurrentThread()); |
| 19 } |
| 20 |
| 21 bool RegisterDummySpnegoAuthenticator(JNIEnv* env) { |
| 22 return RegisterNativesImpl(env); |
| 23 } |
| 24 |
| 25 } // namespace android |
| 26 } // namespace net |
OLD | NEW |