chromium/chrome/browser/ui/webui/whats_new/whats_new_util.cc

// Copyright 2021 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/ui/webui/whats_new/whats_new_util.h"

#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/location.h"
#include "base/metrics/histogram_functions.h"
#include "base/notreached.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/chrome_version.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/webui_url_constants.h"
#include "components/prefs/pref_service.h"
#include "net/base/url_util.h"
#include "ui/base/ui_base_features.h"
#include "url/gurl.h"

namespace whats_new {
bool g_is_remote_content_disabled =;

#if !BUILDFLAG(IS_CHROMEOS)
// For testing purposes, so that WebUI tests run on non-branded
// CQ bots.
BASE_FEATURE();
#endif

bool IsEnabled() {}

void DisableRemoteContentForTests() {}

void LogStartupType(StartupType type) {}

bool IsRemoteContentDisabled() {}

bool ShouldShowForState(PrefService* local_state,
                        bool promotional_tabs_enabled) {}

GURL GetWebUIStartupURL() {}

}  // namespace whats_new