Index: net/android/dummy_spnego_authenticator.cc |
diff --git a/net/android/dummy_spnego_authenticator.cc b/net/android/dummy_spnego_authenticator.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..395c6299aecc85be7fb91de375d06fb270035b78 |
--- /dev/null |
+++ b/net/android/dummy_spnego_authenticator.cc |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+#include "net/android/dummy_spnego_authenticator.h" |
+ |
+#include "jni/DummySpnegoAuthenticator_jni.h" |
+ |
+namespace net { |
+namespace android { |
+ |
+void EnsureSpnegoTestAccountExists() { |
+ Java_DummySpnegoAuthenticator_ensureTestAccountExists( |
+ base::android::AttachCurrentThread()); |
+} |
+ |
+void RemoveSpnegoTestAccounts() { |
+ Java_DummySpnegoAuthenticator_removeTestAccounts( |
+ base::android::AttachCurrentThread()); |
+} |
+ |
+bool RegisterDummySpnegoAuthenticator(JNIEnv* env) { |
+ return RegisterNativesImpl(env); |
+} |
+ |
+} // namespace android |
+} // namespace net |