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

Unified Diff: net/android/dummy_spnego_authenticator.cc

Issue 1128043007: Support Kerberos on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deal with comments and build and test failures. Created 5 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698