chromium/components/omnibox/browser/omnibox_suggestions_watcher.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 "omnibox_suggestions_watcher.h"
#include "base/observer_list.h"
#include "build/build_config.h"

#if !BUILDFLAG(IS_IOS)
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
#endif  // !BUILDFLAG(IS_IOS)

namespace {

#if !BUILDFLAG(IS_IOS)
class OmniboxSuggestionsWatcherFactory
    : public BrowserContextKeyedServiceFactory {};
#endif  // !BUILDFLAG(IS_IOS)

}  // namespace

OmniboxSuggestionsWatcher::OmniboxSuggestionsWatcher() = default;
OmniboxSuggestionsWatcher::~OmniboxSuggestionsWatcher() = default;

#if !BUILDFLAG(IS_IOS)
// static
OmniboxSuggestionsWatcher* OmniboxSuggestionsWatcher::GetForBrowserContext(
    content::BrowserContext* browser_context) {}
#endif  // !BUILDFLAG(IS_IOS)

void OmniboxSuggestionsWatcher::AddObserver(Observer* observer) {}

void OmniboxSuggestionsWatcher::RemoveObserver(Observer* observer) {}

void OmniboxSuggestionsWatcher::NotifySuggestionsReady(
    extensions::api::omnibox::SendSuggestions::Params* suggestions) {}

void OmniboxSuggestionsWatcher::NotifyDefaultSuggestionChanged() {}

// static
void OmniboxSuggestionsWatcher::EnsureFactoryBuilt() {}