Index: net/log/net_log_capture_mode.cc |
diff --git a/net/log/net_log_capture_mode.cc b/net/log/net_log_capture_mode.cc |
index 501911e0a9b6dc7b063e219350919942276a54e9..b6519ae3b0a6795f4290efff0bb76febc139e9b7 100644 |
--- a/net/log/net_log_capture_mode.cc |
+++ b/net/log/net_log_capture_mode.cc |
@@ -52,11 +52,6 @@ NetLogCaptureMode NetLogCaptureMode::IncludeSocketBytes() { |
return NetLogCaptureMode(INCLUDE_SOCKET_BYTES); |
} |
-NetLogCaptureMode NetLogCaptureMode::Max(NetLogCaptureMode mode1, |
- NetLogCaptureMode mode2) { |
- return NetLogCaptureMode(std::max(mode1.value_, mode2.value_)); |
-} |
- |
bool NetLogCaptureMode::enabled() const { |
return value_ != NONE; |
} |
@@ -78,18 +73,10 @@ bool NetLogCaptureMode::operator!=(NetLogCaptureMode mode) const { |
} |
int32_t NetLogCaptureMode::ToInternalValueForTesting() const { |
- return ToInternalValue(); |
+ return value_; |
} |
NetLogCaptureMode::NetLogCaptureMode(uint32_t value) : value_(value) { |
} |
-NetLogCaptureMode NetLogCaptureMode::FromInternalValue(int32_t value) { |
- return NetLogCaptureMode(value); |
-} |
- |
-int32_t NetLogCaptureMode::ToInternalValue() const { |
- return value_; |
-} |
- |
} // namespace net |