chromium/chrome/browser/updates/announcement_notification/announcement_notification_service.cc

// Copyright 2020 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/updates/announcement_notification/announcement_notification_service.h"

#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/metrics/field_trial_params.h"
#include "base/time/clock.h"
#include "base/time/time.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile_attributes_entry.h"    // nogncheck
#include "chrome/browser/profiles/profile_attributes_storage.h"  // nogncheck
#include "chrome/browser/profiles/profile_manager.h"             // nogncheck
#include "chrome/grit/generated_resources.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "ui/base/l10n/l10n_util.h"

namespace {

// Default value for Finch parameter |kVersion|.
const int kInvalidVersion =;

// Whether the announcement notification is shown.
static bool notification_shown =;

}  // namespace

class AnnouncementNotificationServiceImpl
    : public AnnouncementNotificationService {};

BASE_FEATURE();

// static
void AnnouncementNotificationService::RegisterProfilePrefs(
    PrefRegistrySimple* registry) {}

// static
std::unique_ptr<AnnouncementNotificationService>
AnnouncementNotificationService::Create(Profile* profile,
                                        PrefService* pref_service,
                                        std::unique_ptr<Delegate> delegate,
                                        base::Clock* clock) {}

// static
GURL AnnouncementNotificationService::GetAnnouncementURL() {}

// static
bool AnnouncementNotificationService::CanOpenAnnouncement(Profile* profile) {}

AnnouncementNotificationService::AnnouncementNotificationService() = default;

AnnouncementNotificationService::~AnnouncementNotificationService() = default;