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

Side by Side Diff: net/base/auth.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_BASE_AUTH_H__ 5 #ifndef NET_BASE_AUTH_H__
6 #define NET_BASE_AUTH_H__ 6 #define NET_BASE_AUTH_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "net/base/net_api.h" 13 #include "net/base/net_export.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 // Holds info about an authentication challenge that we may want to display 17 // Holds info about an authentication challenge that we may want to display
18 // to the user. 18 // to the user.
19 class NET_API AuthChallengeInfo : 19 class NET_EXPORT AuthChallengeInfo :
20 public base::RefCountedThreadSafe<AuthChallengeInfo> { 20 public base::RefCountedThreadSafe<AuthChallengeInfo> {
21 public: 21 public:
22 AuthChallengeInfo(); 22 AuthChallengeInfo();
23 23
24 bool operator==(const AuthChallengeInfo& that) const; 24 bool operator==(const AuthChallengeInfo& that) const;
25 25
26 bool operator!=(const AuthChallengeInfo& that) const { 26 bool operator!=(const AuthChallengeInfo& that) const {
27 return !(*this == that); 27 return !(*this == that);
28 } 28 }
29 29
(...skipping 27 matching lines...) Expand all
57 AuthData(); 57 AuthData();
58 58
59 private: 59 private:
60 friend class base::RefCountedThreadSafe<AuthData>; 60 friend class base::RefCountedThreadSafe<AuthData>;
61 ~AuthData(); 61 ~AuthData();
62 }; 62 };
63 63
64 } // namespace net 64 } // namespace net
65 65
66 #endif // NET_BASE_AUTH_H__ 66 #endif // NET_BASE_AUTH_H__
OLDNEW
« no previous file with comments | « net/base/asn1_util.h ('k') | net/base/backoff_entry.h » ('j') | net/base/net_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698