// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_ZLIB_GOOGLE_REDACT_H_ #define THIRD_PARTY_ZLIB_GOOGLE_REDACT_H_ #include <ostream> #include "base/files/file_path.h" #include "base/logging.h" namespace zip { // Redacts file paths in log messages. // Example: // LOG(ERROR) << "Cannot open " << Redact(path); class Redact { … }; } // namespace zip #endif // THIRD_PARTY_ZLIB_GOOGLE_REDACT_H_