1 // Copyright 2015 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/log/net_log_capture_mode.h" 6 7 namespace net { 8 NetLogCaptureIncludesSensitive(NetLogCaptureMode capture_mode)9bool NetLogCaptureIncludesSensitive(NetLogCaptureMode capture_mode) { 10 return capture_mode >= NetLogCaptureMode::kIncludeSensitive; 11 } 12 NetLogCaptureIncludesSocketBytes(NetLogCaptureMode capture_mode)13bool NetLogCaptureIncludesSocketBytes(NetLogCaptureMode capture_mode) { 14 return capture_mode == NetLogCaptureMode::kEverything; 15 } 16 17 } // namespace net 18