diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-04 13:45:21 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-04 13:45:21 +0000 |
commit | 098e6098d233277b168cd367bc6012ba1722d108 (patch) | |
tree | fd5f157a10627ea4b45640cc2901a5230305caa4 /components/search_engines/template_url_service_observer.h | |
parent | bea1db328892155789e584c87e8b2cb043b039af (diff) | |
download | chromium_src-098e6098d233277b168cd367bc6012ba1722d108.zip chromium_src-098e6098d233277b168cd367bc6012ba1722d108.tar.gz chromium_src-098e6098d233277b168cd367bc6012ba1722d108.tar.bz2 |
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
Diffstat (limited to 'components/search_engines/template_url_service_observer.h')
-rw-r--r-- | components/search_engines/template_url_service_observer.h | 19 |
1 files changed, 19 insertions, 0 deletions
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_ |