From 098e6098d233277b168cd367bc6012ba1722d108 Mon Sep 17 00:00:00 2001 From: "hashimoto@chromium.org" <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Fri, 4 Jul 2014 13:45:21 +0000 Subject: Componentize TemplateURLService Move TemplateURLService, SearchHostToURLsMap, util.cc from chrome/browser/search_engines to components/search_engines Move KeywordTable and KeywordWeDataService from chrome/browser/webdata to components/search_engines Fix DEPS, OWNERS and gyp. Replace HistoryDatabase in keyword_table.cc with URLDatabase. BUG=386367 TEST=build and checkdeps R=blundell@chromium.org, jochen@chromium.org, pkasting@chromium.org TBR=atwilson@chromium.org as an owner of sync, erikwright@chromium.org as an owner of sql Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281350 Review URL: https://codereview.chromium.org/367023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281403 0039d316-1c4b-4281-b951-d872f2087c98 --- .../search_engines/template_url_service_observer.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 components/search_engines/template_url_service_observer.h (limited to 'components/search_engines/template_url_service_observer.h') diff --git a/components/search_engines/template_url_service_observer.h b/components/search_engines/template_url_service_observer.h new file mode 100644 index 0000000..acd016f --- /dev/null +++ b/components/search_engines/template_url_service_observer.h @@ -0,0 +1,19 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ +#define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ + +// TemplateURLServiceObserver is notified whenever the set of TemplateURLs +// are modified. +class TemplateURLServiceObserver { + public: + // Notification that the template url model has changed in some way. + virtual void OnTemplateURLServiceChanged() = 0; + + protected: + virtual ~TemplateURLServiceObserver() {} +}; + +#endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ -- cgit v1.1