#include "chrome/browser/search/instant_service_factory.h"
#include "base/feature_list.h"
#include "base/trace_event/trace_event.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search/instant_service.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "components/search/search.h"
namespace {
BASE_FEATURE(…);
}
InstantService* InstantServiceFactory::GetForProfile(Profile* profile) { … }
InstantServiceFactory* InstantServiceFactory::GetInstance() { … }
InstantServiceFactory::InstantServiceFactory()
: … { … }
InstantServiceFactory::~InstantServiceFactory() = default;
std::unique_ptr<KeyedService>
InstantServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
void InstantServiceFactory::BrowserContextDestroyed(
content::BrowserContext* browser_context) { … }