| OLD | NEW |
| 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_LOG_NET_LOG_CAPTURE_MODE_H_ | 5 #ifndef NET_LOG_NET_LOG_CAPTURE_MODE_H_ |
| 6 #define NET_LOG_NET_LOG_CAPTURE_MODE_H_ | 6 #define NET_LOG_NET_LOG_CAPTURE_MODE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 |
| 9 #include <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 | 15 |
| 15 // NetLogCaptureMode specifies the granularity of events that should be emitted | 16 // NetLogCaptureMode specifies the granularity of events that should be emitted |
| 16 // to the log. It is a simple wrapper around an integer, so it should be passed | 17 // to the log. It is a simple wrapper around an integer, so it should be passed |
| 17 // to functions by value rather than by reference. | 18 // to functions by value rather than by reference. |
| 18 class NET_EXPORT NetLogCaptureMode { | 19 class NET_EXPORT NetLogCaptureMode { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 55 |
| 55 private: | 56 private: |
| 56 explicit NetLogCaptureMode(uint32_t value); | 57 explicit NetLogCaptureMode(uint32_t value); |
| 57 | 58 |
| 58 int32_t value_; | 59 int32_t value_; |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace net | 62 } // namespace net |
| 62 | 63 |
| 63 #endif // NET_LOG_NET_LOG_CAPTURE_MODE_H_ | 64 #endif // NET_LOG_NET_LOG_CAPTURE_MODE_H_ |
| OLD | NEW |