chromium/chrome/browser/sync/test/integration/search_engines_helper.cc

// Copyright 2012 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/test/integration/search_engines_helper.h"

#include <stddef.h>

#include <vector>

#include "base/functional/bind.h"
#include "base/hash/sha1.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "base/uuid.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "components/search_engines/template_url.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace {

test;

Contains;
Key;
Not;

GUIDToTURLMap CreateGUIDToTURLMap(TemplateURLService* service) {}

std::string GetTURLInfoString(const TemplateURL& turl) {}

bool TURLsMatch(const TemplateURL& turl1, const TemplateURL& turl2) {}

bool ServicesMatch(int profile_a, int profile_b, std::ostream* os) {}

}  // namespace

namespace search_engines_helper {

TemplateURLService* GetServiceForBrowserContext(int profile_index) {}

TemplateURLService* GetVerifierService() {}

bool ServiceMatchesVerifier(int profile_index) {}

bool AllServicesMatch() {}

bool AllServicesMatch(std::ostream* os) {}

TemplateURLBuilder::TemplateURLBuilder(const std::string& keyword) {}

TemplateURLBuilder::~TemplateURLBuilder() = default;

std::unique_ptr<TemplateURL> TemplateURLBuilder::Build() {}

void AddSearchEngine(int profile_index, const std::string& keyword) {}

void EditSearchEngine(int profile_index,
                      const std::string& keyword,
                      const std::u16string& short_name,
                      const std::string& new_keyword,
                      const std::string& url) {}

void DeleteSearchEngine(int profile_index, const std::string& keyword) {}

void ChangeDefaultSearchProvider(int profile_index,
                                 const std::string& keyword) {}

bool HasSearchEngine(int profile_index, const std::string& keyword) {}

std::string GetDefaultSearchEngineKeyword(int profile_index) {}

SearchEnginesMatchChecker::SearchEnginesMatchChecker() {}

SearchEnginesMatchChecker::~SearchEnginesMatchChecker() = default;

bool SearchEnginesMatchChecker::IsExitConditionSatisfied(std::ostream* os) {}

void SearchEnginesMatchChecker::OnTemplateURLServiceChanged() {}

HasSearchEngineChecker::HasSearchEngineChecker(int profile_index,
                                               const std::string& keyword)
    :{}

HasSearchEngineChecker::~HasSearchEngineChecker() = default;

bool HasSearchEngineChecker::IsExitConditionSatisfied(std::ostream* os) {}

void HasSearchEngineChecker::OnTemplateURLServiceChanged() {}

}  // namespace search_engines_helper