blob: 92c8810adc1005cca830957a0f4fb4c975dd3082 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include <vector>
#include "base/time/time.h"
#include "components/send_tab_to_self/send_tab_to_self_model.h"
namespace send_tab_to_self {
class SendTabToSelfEntry;
class TestSendTabToSelfModel : public SendTabToSelfModel {
TestSendTabToSelfModel() = default;
~TestSendTabToSelfModel() override = default;
// SendTabToSelfModel:
std::vector<std::string> GetAllGuids() const override;
void DeleteAllEntries() override;
const SendTabToSelfEntry* GetEntryByGUID(
const std::string& guid) const override;
const SendTabToSelfEntry* AddEntry(const GURL& url,
const std::string& title,
base::Time navigation_time,
const std::string& device_id) override;
void DeleteEntry(const std::string& guid) override;
void DismissEntry(const std::string& guid) override;
bool IsReady() override;
} // namespace send_tab_to_self