| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ | 5 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ | 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ |
| 7 | 7 |
| 8 // TemplateURLServiceObserver is notified whenever the set of TemplateURLs | 8 // TemplateURLServiceObserver is notified whenever the set of TemplateURLs |
| 9 // are modified. | 9 // are modified. |
| 10 class TemplateURLServiceObserver { | 10 class TemplateURLServiceObserver { |
| 11 public: | 11 public: |
| 12 // Notification that the template url model has changed in some way. | 12 // Notification that the template url model has changed in some way. |
| 13 virtual void OnTemplateURLServiceChanged() = 0; | 13 virtual void OnTemplateURLServiceChanged() = 0; |
| 14 | 14 |
| 15 protected: | 15 protected: |
| 16 virtual ~TemplateURLServiceObserver() {} | 16 virtual ~TemplateURLServiceObserver() {} |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ | 19 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_OBSERVER_H_ |
| OLD | NEW |