#include "remoting/base/local_session_policies_provider.h"
#include <memory>
#include "base/callback_list.h"
#include "base/test/mock_callback.h"
#include "base/time/time.h"
#include "remoting/base/session_policies.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
class LocalSessionPoliciesProviderTest : public testing::Test { … };
TEST_F(LocalSessionPoliciesProviderTest, ProvideEmptyPoliciesByDefault) { … }
TEST_F(LocalSessionPoliciesProviderTest,
PoliciesChanged_UpdatePoliciesAndNotifyCallbacks) { … }
TEST_F(LocalSessionPoliciesProviderTest,
PoliciesNotChanged_CallbacksNotNotified) { … }
TEST_F(LocalSessionPoliciesProviderTest,
SubscriptionDiscarded_CallbackNoLongerNotified) { … }
}