Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1196)

Side by Side Diff: components/search_engines/template_url_service.h

Issue 367023002: Componentize TemplateURLService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_H_ 5 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback_list.h" 14 #include "base/callback_list.h"
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/observer_list.h" 17 #include "base/observer_list.h"
18 #include "base/prefs/pref_change_registrar.h" 18 #include "base/prefs/pref_change_registrar.h"
19 #include "chrome/browser/webdata/keyword_web_data_service.h"
20 #include "components/google/core/browser/google_url_tracker.h" 19 #include "components/google/core/browser/google_url_tracker.h"
21 #include "components/keyed_service/core/keyed_service.h" 20 #include "components/keyed_service/core/keyed_service.h"
22 #include "components/search_engines/default_search_manager.h" 21 #include "components/search_engines/default_search_manager.h"
22 #include "components/search_engines/keyword_web_data_service.h"
23 #include "components/search_engines/template_url.h" 23 #include "components/search_engines/template_url.h"
24 #include "components/search_engines/template_url_id.h" 24 #include "components/search_engines/template_url_id.h"
25 #include "components/webdata/common/web_data_service_consumer.h" 25 #include "components/webdata/common/web_data_service_consumer.h"
26 #include "sync/api/sync_change.h" 26 #include "sync/api/sync_change.h"
27 #include "sync/api/syncable_service.h" 27 #include "sync/api/syncable_service.h"
28 28
29 class GURL; 29 class GURL;
30 class PrefService; 30 class PrefService;
31 class SearchHostToURLsMap; 31 class SearchHostToURLsMap;
32 class SearchTermsData; 32 class SearchTermsData;
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 base::CallbackList<void(void)> on_loaded_callbacks_; 752 base::CallbackList<void(void)> on_loaded_callbacks_;
753 753
754 // Helper class to manage the default search engine. 754 // Helper class to manage the default search engine.
755 DefaultSearchManager default_search_manager_; 755 DefaultSearchManager default_search_manager_;
756 756
757 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_; 757 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_;
758 758
759 DISALLOW_COPY_AND_ASSIGN(TemplateURLService); 759 DISALLOW_COPY_AND_ASSIGN(TemplateURLService);
760 }; 760 };
761 761
762 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ 762 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_
OLDNEW
« no previous file with comments | « components/search_engines/search_host_to_urls_map.cc ('k') | components/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698