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

Side by Side Diff: net/android/http_auth_negotiate_android.h

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « media/base/android/media_drm_bridge.h ('k') | net/proxy/dhcp_proxy_script_fetcher_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ 5 #ifndef NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_
6 #define NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ 6 #define NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/android/jni_android.h" 13 #include "base/android/jni_android.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
18 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
19 #include "net/http/http_auth.h" 19 #include "net/http/http_auth.h"
20 20
21 namespace base {
22 class TaskRunner;
23 }
24
25 namespace net { 21 namespace net {
26 22
27 class HttpAuthChallengeTokenizer; 23 class HttpAuthChallengeTokenizer;
28 class HttpAuthPreferences; 24 class HttpAuthPreferences;
29 25
30 namespace android { 26 namespace android {
31 27
32 // This class provides a threadsafe wrapper for SetResult, which is called from 28 // This class provides a threadsafe wrapper for SetResult, which is called from
33 // Java. A new instance of this class is needed for each call, and the instance 29 // Java. A new instance of this class is needed for each call, and the instance
34 // destroys itself when the callback is received. It is written to allow 30 // destroys itself when the callback is received. It is written to allow
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 131
136 base::WeakPtrFactory<HttpAuthNegotiateAndroid> weak_factory_; 132 base::WeakPtrFactory<HttpAuthNegotiateAndroid> weak_factory_;
137 133
138 DISALLOW_COPY_AND_ASSIGN(HttpAuthNegotiateAndroid); 134 DISALLOW_COPY_AND_ASSIGN(HttpAuthNegotiateAndroid);
139 }; 135 };
140 136
141 } // namespace android 137 } // namespace android
142 } // namespace net 138 } // namespace net
143 139
144 #endif // NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_ 140 #endif // NET_ANDROID_HTTP_AUTH_NEGOTIATE_ANDROID_H_
OLDNEW
« no previous file with comments | « media/base/android/media_drm_bridge.h ('k') | net/proxy/dhcp_proxy_script_fetcher_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698