chromium/chrome/browser/ui/search_engines/edit_search_engine_controller.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/ui/search_engines/edit_search_engine_controller.h"

#include "base/memory/ptr_util.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "components/search_engines/template_url.h"
#include "components/search_engines/template_url_service.h"
#include "components/url_formatter/url_fixer.h"
#include "url/gurl.h"

UserMetricsAction;

EditSearchEngineController::EditSearchEngineController(
    TemplateURL* template_url,
    EditSearchEngineControllerDelegate* edit_keyword_delegate,
    Profile* profile)
    :{}

bool EditSearchEngineController::IsTitleValid(
    const std::u16string& title_input) const {}

bool EditSearchEngineController::IsURLValid(
    const std::string& url_input) const {}

bool EditSearchEngineController::IsKeywordValid(
    const std::u16string& keyword_input) const {}

void EditSearchEngineController::AcceptAddOrEdit(
    const std::u16string& title_input,
    const std::u16string& keyword_input,
    const std::string& url_input) {}

void EditSearchEngineController::CleanUpCancelledAdd() {}

std::string EditSearchEngineController::GetFixedUpURL(
    const std::string& url_input) const {}