OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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 | |
5 package org.chromium.net.test; | |
6 | |
7 import android.app.Service; | |
8 import android.content.Intent; | |
9 import android.os.IBinder; | |
10 | |
11 import org.chromium.base.Log; | |
12 | |
13 /** | |
14 * | |
Bernhard Bauer
2015/06/10 17:11:03
Nit: remove empty line
aberent
2015/06/15 15:52:20
Done.
| |
15 * Authenticator service for testing SPNEGO (Kerberos) support. | |
16 */ | |
17 public class DummySpnegoAuthenticatorService extends Service { | |
18 private static DummySpnegoAuthenticator sAuthenticator = null; | |
19 private static final String TAG = "cr.net.test"; | |
20 | |
21 @Override | |
22 public IBinder onBind(Intent arg0) { | |
23 Log.i(TAG, "Bound"); | |
24 if (sAuthenticator == null) sAuthenticator = new DummySpnegoAuthenticato r(this); | |
25 return sAuthenticator.getIBinder(); | |
26 } | |
27 } | |
OLD | NEW |