#include "components/web_resource/eula_accepted_notifier.h"
#include <memory>
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/web_resource/web_resource_pref_names.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_resource {
class EulaAcceptedNotifierTest : public testing::Test,
public EulaAcceptedNotifier::Observer { … };
TEST_F(EulaAcceptedNotifierTest, EulaAlreadyAccepted) { … }
TEST_F(EulaAcceptedNotifierTest, EulaNotAccepted) { … }
TEST_F(EulaAcceptedNotifierTest, EulaNotInitiallyAccepted) { … }
}