chromium/components/sync_sessions/test_synced_window_delegates_getter.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/sync_sessions/test_synced_window_delegates_getter.h"

#include <vector>

#include "base/functional/bind.h"
#include "components/sessions/core/serialized_navigation_entry_test_helper.h"
#include "components/sync_sessions/synced_session.h"
#include "components/sync_sessions/tab_node_pool.h"

namespace sync_sessions {
namespace {

const char kTitle[] =;

}  // namespace

TestSyncedTabDelegate::TestSyncedTabDelegate(
    SessionID window_id,
    SessionID tab_id,
    const base::RepeatingCallback<void(SyncedTabDelegate*)>& notify_cb)
    :{}

TestSyncedTabDelegate::~TestSyncedTabDelegate() = default;

void TestSyncedTabDelegate::Navigate(const std::string& url,
                                     base::Time time,
                                     ui::PageTransition transition) {}

void TestSyncedTabDelegate::set_current_entry_index(int i) {}

void TestSyncedTabDelegate::set_blocked_navigations(
    const std::vector<std::unique_ptr<sessions::SerializedNavigationEntry>>&
        navs) {}

bool TestSyncedTabDelegate::IsInitialBlankNavigation() const {}

int TestSyncedTabDelegate::GetCurrentEntryIndex() const {}

GURL TestSyncedTabDelegate::GetVirtualURLAtIndex(int i) const {}

void TestSyncedTabDelegate::GetSerializedNavigationAtIndex(
    int i,
    sessions::SerializedNavigationEntry* serialized_entry) const {}

int TestSyncedTabDelegate::GetEntryCount() const {}

SessionID TestSyncedTabDelegate::GetWindowId() const {}

SessionID TestSyncedTabDelegate::GetSessionId() const {}

bool TestSyncedTabDelegate::IsBeingDestroyed() const {}

base::Time TestSyncedTabDelegate::GetLastActiveTime() {}

std::string TestSyncedTabDelegate::GetExtensionAppId() const {}

bool TestSyncedTabDelegate::ProfileHasChildAccount() const {}

void TestSyncedTabDelegate::set_has_child_account(bool has_child_account) {}

const std::vector<std::unique_ptr<const sessions::SerializedNavigationEntry>>*
TestSyncedTabDelegate::GetBlockedNavigations() const {}

bool TestSyncedTabDelegate::IsPlaceholderTab() const {}

bool TestSyncedTabDelegate::ShouldSync(SyncSessionsClient* sessions_client) {}

int64_t TestSyncedTabDelegate::GetTaskIdForNavigationId(int nav_id) const {}

int64_t TestSyncedTabDelegate::GetParentTaskIdForNavigationId(
    int nav_id) const {}

int64_t TestSyncedTabDelegate::GetRootTaskIdForNavigationId(int nav_id) const {}

std::unique_ptr<SyncedTabDelegate>
TestSyncedTabDelegate::ReadPlaceholderTabSnapshotIfItShouldSync(
    SyncSessionsClient* sessions_client) {}

PlaceholderTabDelegate::PlaceholderTabDelegate(SessionID tab_id)
    :{}

PlaceholderTabDelegate::~PlaceholderTabDelegate() = default;

SessionID PlaceholderTabDelegate::GetSessionId() const {}

bool PlaceholderTabDelegate::IsPlaceholderTab() const {}

void PlaceholderTabDelegate::SetPlaceholderTabSyncedTabDelegate(
    std::unique_ptr<SyncedTabDelegate> delegate) {}

std::unique_ptr<SyncedTabDelegate>
PlaceholderTabDelegate::ReadPlaceholderTabSnapshotIfItShouldSync(
    SyncSessionsClient* sessions_client) {}

SessionID PlaceholderTabDelegate::GetWindowId() const {}

bool PlaceholderTabDelegate::IsBeingDestroyed() const {}

base::Time PlaceholderTabDelegate::GetLastActiveTime() {}

std::string PlaceholderTabDelegate::GetExtensionAppId() const {}

bool PlaceholderTabDelegate::IsInitialBlankNavigation() const {}

int PlaceholderTabDelegate::GetCurrentEntryIndex() const {}

int PlaceholderTabDelegate::GetEntryCount() const {}

GURL PlaceholderTabDelegate::GetVirtualURLAtIndex(int i) const {}

void PlaceholderTabDelegate::GetSerializedNavigationAtIndex(
    int i,
    sessions::SerializedNavigationEntry* serialized_entry) const {}

bool PlaceholderTabDelegate::ProfileHasChildAccount() const {}

const std::vector<std::unique_ptr<const sessions::SerializedNavigationEntry>>*
PlaceholderTabDelegate::GetBlockedNavigations() const {}

bool PlaceholderTabDelegate::ShouldSync(SyncSessionsClient* sessions_client) {}

int64_t PlaceholderTabDelegate::GetTaskIdForNavigationId(int nav_id) const {}

int64_t PlaceholderTabDelegate::GetParentTaskIdForNavigationId(
    int nav_id) const {}

int64_t PlaceholderTabDelegate::GetRootTaskIdForNavigationId(int nav_id) const {}

TestSyncedWindowDelegate::TestSyncedWindowDelegate(
    SessionID window_id,
    sync_pb::SyncEnums_BrowserType type)
    :{}

TestSyncedWindowDelegate::~TestSyncedWindowDelegate() = default;

void TestSyncedWindowDelegate::OverrideTabAt(int index,
                                             SyncedTabDelegate* delegate) {}

void TestSyncedWindowDelegate::CloseTab(SessionID tab_id) {}

void TestSyncedWindowDelegate::SetIsSessionRestoreInProgress(bool value) {}

bool TestSyncedWindowDelegate::HasWindow() const {}

SessionID TestSyncedWindowDelegate::GetSessionId() const {}

int TestSyncedWindowDelegate::GetTabCount() const {}

bool TestSyncedWindowDelegate::IsTypeNormal() const {}

bool TestSyncedWindowDelegate::IsTypePopup() const {}

bool TestSyncedWindowDelegate::IsTabPinned(const SyncedTabDelegate* tab) const {}

SyncedTabDelegate* TestSyncedWindowDelegate::GetTabAt(int index) const {}

SessionID TestSyncedWindowDelegate::GetTabIdAt(int index) const {}

bool TestSyncedWindowDelegate::IsSessionRestoreInProgress() const {}

bool TestSyncedWindowDelegate::ShouldSync() const {}

TestSyncedWindowDelegatesGetter::TestSyncedWindowDelegatesGetter() = default;

TestSyncedWindowDelegatesGetter::~TestSyncedWindowDelegatesGetter() = default;

void TestSyncedWindowDelegatesGetter::ResetWindows() {}

TestSyncedWindowDelegate* TestSyncedWindowDelegatesGetter::AddWindow(
    sync_pb::SyncEnums_BrowserType type,
    SessionID window_id) {}

TestSyncedTabDelegate* TestSyncedWindowDelegatesGetter::AddTab(
    SessionID window_id,
    SessionID tab_id) {}

void TestSyncedWindowDelegatesGetter::CloseTab(SessionID tab_id) {}

void TestSyncedWindowDelegatesGetter::SessionRestoreComplete() {}

LocalSessionEventRouter* TestSyncedWindowDelegatesGetter::router() {}

SyncedWindowDelegatesGetter::SyncedWindowDelegateMap
TestSyncedWindowDelegatesGetter::GetSyncedWindowDelegates() {}

const SyncedWindowDelegate* TestSyncedWindowDelegatesGetter::FindById(
    SessionID session_id) {}

TestSyncedWindowDelegatesGetter::TestRouter::TestRouter() = default;

TestSyncedWindowDelegatesGetter::TestRouter::~TestRouter() = default;

void TestSyncedWindowDelegatesGetter::TestRouter::StartRoutingTo(
    LocalSessionEventHandler* handler) {}

void TestSyncedWindowDelegatesGetter::TestRouter::Stop() {}

void TestSyncedWindowDelegatesGetter::TestRouter::NotifyNav(
    SyncedTabDelegate* tab) {}

void TestSyncedWindowDelegatesGetter::TestRouter::
    NotifySessionRestoreComplete() {}

}  // namespace sync_sessions