| 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 COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ | 5 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ |
| 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ | 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <list> | 10 #include <list> |
| 9 #include <map> | 11 #include <map> |
| 10 #include <set> | 12 #include <set> |
| 11 #include <string> | 13 #include <string> |
| 12 #include <vector> | 14 #include <vector> |
| 13 | 15 |
| 14 #include "base/callback_list.h" | 16 #include "base/callback_list.h" |
| 15 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 18 #include "base/macros.h" |
| 16 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/observer_list.h" | 20 #include "base/observer_list.h" |
| 18 #include "base/prefs/pref_change_registrar.h" | 21 #include "base/prefs/pref_change_registrar.h" |
| 19 #include "base/time/clock.h" | 22 #include "base/time/clock.h" |
| 20 #include "components/google/core/browser/google_url_tracker.h" | 23 #include "components/google/core/browser/google_url_tracker.h" |
| 21 #include "components/keyed_service/core/keyed_service.h" | 24 #include "components/keyed_service/core/keyed_service.h" |
| 22 #include "components/search_engines/default_search_manager.h" | 25 #include "components/search_engines/default_search_manager.h" |
| 23 #include "components/search_engines/keyword_web_data_service.h" | 26 #include "components/search_engines/keyword_web_data_service.h" |
| 24 #include "components/search_engines/template_url.h" | 27 #include "components/search_engines/template_url.h" |
| 25 #include "components/search_engines/template_url_id.h" | 28 #include "components/search_engines/template_url_id.h" |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 | 813 |
| 811 // Helper class to manage the default search engine. | 814 // Helper class to manage the default search engine. |
| 812 DefaultSearchManager default_search_manager_; | 815 DefaultSearchManager default_search_manager_; |
| 813 | 816 |
| 814 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_; | 817 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_; |
| 815 | 818 |
| 816 DISALLOW_COPY_AND_ASSIGN(TemplateURLService); | 819 DISALLOW_COPY_AND_ASSIGN(TemplateURLService); |
| 817 }; | 820 }; |
| 818 | 821 |
| 819 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ | 822 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ |
| OLD | NEW |