chromium/chrome/browser/sync/sessions/sync_sessions_web_contents_router_unittest.cc

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

#include "chrome/browser/sync/sessions/sync_sessions_web_contents_router.h"

#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "chrome/browser/sync/sessions/sync_sessions_web_contents_router_factory.h"
#include "chrome/browser/ui/sync/browser_synced_tab_delegate.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"

namespace sync_sessions {

class StartSyncFlareMock {};

class SyncSessionsWebContentsRouterTest
    : public ChromeRenderViewHostTestHarness {};

// Disabled on android due to complexity of creating a full TabAndroid object
// for a unit test. The logic being tested here isn't directly affected by
// platform-specific peculiarities.
#if !BUILDFLAG(IS_ANDROID)
TEST_F(SyncSessionsWebContentsRouterTest, FlareNotRun) {}

// Make sure we don't crash when there's not a flare.
TEST_F(SyncSessionsWebContentsRouterTest, FlareNotSet) {}

TEST_F(SyncSessionsWebContentsRouterTest, FlareRunsForLoadCompleted) {}
#endif  // !BUILDFLAG(IS_ANDROID)

}  // namespace sync_sessions