| OLD | NEW |
| 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_STATIC_COOKIE_POLICY_H_ | 5 #ifndef NET_BASE_STATIC_COOKIE_POLICY_H_ |
| 6 #define NET_BASE_STATIC_COOKIE_POLICY_H_ | 6 #define NET_BASE_STATIC_COOKIE_POLICY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "net/base/net_export.h" | 9 #include "net/base/net_export.h" |
| 10 | 10 |
| 11 class GURL; | 11 class GURL; |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 // The StaticCookiePolicy class implements a static cookie policy that supports | 15 // The StaticCookiePolicy class implements a static cookie policy that supports |
| 16 // three modes: allow all, deny all, or block third-party cookies. | 16 // three modes: allow all, deny all, or block third-party cookies. |
| 17 class NET_EXPORT StaticCookiePolicy { | 17 class NET_EXPORT StaticCookiePolicy { |
| 18 public: | 18 public: |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 Type type_; | 53 Type type_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(StaticCookiePolicy); | 55 DISALLOW_COPY_AND_ASSIGN(StaticCookiePolicy); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace net | 58 } // namespace net |
| 59 | 59 |
| 60 #endif // NET_BASE_STATIC_COOKIE_POLICY_H_ | 60 #endif // NET_BASE_STATIC_COOKIE_POLICY_H_ |
| OLD | NEW |