#include "chrome/browser/notifications/scheduler/internal/impression_store.h"
#include <map>
#include <memory>
#include <string>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/test/task_environment.h"
#include "chrome/browser/notifications/proto/client_state.pb.h"
#include "chrome/browser/notifications/scheduler/internal/impression_types.h"
#include "chrome/browser/notifications/scheduler/internal/proto_conversion.h"
#include "components/leveldb_proto/public/proto_database.h"
#include "components/leveldb_proto/testing/fake_db.h"
#include "testing/gtest/include/gtest/gtest.h"
FakeDB;
InitStatus;
Entries;
DbEntries;
DbEntriesPtr;
TestClientStates;
namespace notifications {
namespace {
const char kClientStateKey[] = …;
const ClientState kDefaultClientState;
class ImpressionStoreTest : public testing::Test { … };
TEST_F(ImpressionStoreTest, InitSuccessEmptyDb) { … }
TEST_F(ImpressionStoreTest, InitSuccessWithData) { … }
TEST_F(ImpressionStoreTest, InitSuccessLoadFailed) { … }
TEST_F(ImpressionStoreTest, InitFailed) { … }
TEST_F(ImpressionStoreTest, Add) { … }
TEST_F(ImpressionStoreTest, AddFailed) { … }
TEST_F(ImpressionStoreTest, Update) { … }
TEST_F(ImpressionStoreTest, Delete) { … }
}
}