• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_MODEL_OBSERVER_H_
7 #pragma once
8 
9 // TemplateURLModelObserver is notified whenever the set of TemplateURLs
10 // are modified.
11 class TemplateURLModelObserver {
12  public:
13   // Notification that the template url model has changed in some way.
14   virtual void OnTemplateURLModelChanged() = 0;
15 
16  protected:
~TemplateURLModelObserver()17   virtual ~TemplateURLModelObserver() {}
18 };
19 
20 #endif  // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_MODEL_OBSERVER_H_
21