OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_PRIVACY_MODE_H_ | 5 #ifndef NET_BASE_PRIVACY_MODE_H_ |
6 #define NET_BASE_PRIVACY_MODE_H_ | 6 #define NET_BASE_PRIVACY_MODE_H_ |
7 | 7 |
8 namespace net { | 8 namespace net { |
9 | 9 |
10 // Privacy Mode is enabled if cookies to particular site are blocked, so | 10 // Privacy Mode is enabled if cookies to particular site are blocked, so |
11 // Channel ID is disabled on that connection (https or spdy). | 11 // Channel ID is disabled on that connection (https or spdy). |
12 enum PrivacyMode { | 12 enum PrivacyMode { |
13 PRIVACY_MODE_DISABLED = 0, | 13 kPrivacyModeDisabled = 0, |
14 PRIVACY_MODE_ENABLED = 1, | 14 kPrivacyModeEnabled = 1, |
15 }; | 15 }; |
16 | 16 |
17 }; // namespace net | 17 }; // namespace net |
18 | 18 |
19 #endif // NET_BASE_PRIVACY_MODE_H_ | 19 #endif // NET_BASE_PRIVACY_MODE_H_ |
| 20 |
OLD | NEW |