#include "components/autofill/core/browser/logging/log_manager.h"
#include <string_view>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "components/autofill/core/browser/logging/log_receiver.h"
#include "components/autofill/core/browser/logging/log_router.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Eq;
Property;
namespace autofill {
namespace {
const char kTestText[] = …;
auto JsonHasText(std::string_view text) { … }
class MockLogReceiver : public autofill::LogReceiver { … };
class MockNotifiedObject { … };
}
class LogManagerTest : public testing::Test { … };
TEST_F(LogManagerTest, LogNoReceiver) { … }
TEST_F(LogManagerTest, LogAttachReceiver) { … }
TEST_F(LogManagerTest, LogDetachReceiver) { … }
TEST_F(LogManagerTest, LogBufferingEntriesWhenFlushed) { … }
TEST_F(LogManagerTest, NullCallbackWillNotCrash) { … }
TEST_F(LogManagerTest, SetSuspended_WithActiveLogging) { … }
TEST_F(LogManagerTest, SetSuspended_WithInactiveLogging) { … }
TEST_F(LogManagerTest, InterleaveSuspendAndLoggingActivation_SuspendFirst) { … }
TEST_F(LogManagerTest, InterleaveSuspendAndLoggingActivation_ActiveFirst) { … }
}