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

Side by Side Diff: net/http/http_auth_handler_basic.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_HTTP_HTTP_AUTH_HANDLER_BASIC_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_BASIC_H_
6 #define NET_HTTP_HTTP_AUTH_HANDLER_BASIC_H_ 6 #define NET_HTTP_HTTP_AUTH_HANDLER_BASIC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "net/base/net_api.h" 12 #include "net/base/net_export.h"
13 #include "net/http/http_auth_handler.h" 13 #include "net/http/http_auth_handler.h"
14 #include "net/http/http_auth_handler_factory.h" 14 #include "net/http/http_auth_handler_factory.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 // Code for handling http basic authentication. 18 // Code for handling http basic authentication.
19 class NET_TEST HttpAuthHandlerBasic : public HttpAuthHandler { 19 class NET_EXPORT_PRIVATE HttpAuthHandlerBasic : public HttpAuthHandler {
20 public: 20 public:
21 class NET_TEST Factory : public HttpAuthHandlerFactory { 21 class NET_EXPORT_PRIVATE Factory : public HttpAuthHandlerFactory {
22 public: 22 public:
23 Factory(); 23 Factory();
24 virtual ~Factory(); 24 virtual ~Factory();
25 25
26 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge, 26 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
27 HttpAuth::Target target, 27 HttpAuth::Target target,
28 const GURL& origin, 28 const GURL& origin,
29 CreateReason reason, 29 CreateReason reason,
30 int digest_nonce_count, 30 int digest_nonce_count,
31 const BoundNetLog& net_log, 31 const BoundNetLog& net_log,
(...skipping 14 matching lines...) Expand all
46 46
47 private: 47 private:
48 virtual ~HttpAuthHandlerBasic() {} 48 virtual ~HttpAuthHandlerBasic() {}
49 49
50 bool ParseChallenge(HttpAuth::ChallengeTokenizer* challenge); 50 bool ParseChallenge(HttpAuth::ChallengeTokenizer* challenge);
51 }; 51 };
52 52
53 } // namespace net 53 } // namespace net
54 54
55 #endif // NET_HTTP_HTTP_AUTH_HANDLER_BASIC_H_ 55 #endif // NET_HTTP_HTTP_AUTH_HANDLER_BASIC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698