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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
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 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> 8 #include <stddef.h>
9 9
10 #include <list> 10 #include <list>
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <set> 13 #include <set>
14 #include <string> 14 #include <string>
15 #include <utility> 15 #include <utility>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/callback_list.h" 18 #include "base/callback_list.h"
19 #include "base/gtest_prod_util.h" 19 #include "base/gtest_prod_util.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/observer_list.h" 21 #include "base/observer_list.h"
22 #include "base/time/clock.h" 22 #include "base/time/clock.h"
23 #include "components/google/core/browser/google_url_tracker.h" 23 #include "components/google/core/browser/google_url_tracker.h"
24 #include "components/keyed_service/core/keyed_service.h" 24 #include "components/keyed_service/core/keyed_service.h"
25 #include "components/prefs/pref_change_registrar.h" 25 #include "components/prefs/pref_change_registrar.h"
26 #include "components/search_engines/default_search_manager.h" 26 #include "components/search_engines/default_search_manager.h"
27 #include "components/search_engines/keyword_web_data_service.h" 27 #include "components/search_engines/keyword_web_data_service.h"
28 #include "components/search_engines/template_url.h" 28 #include "components/search_engines/template_url.h"
29 #include "components/search_engines/template_url_id.h" 29 #include "components/search_engines/template_url_id.h"
30 #include "components/sync/api/sync_change.h"
31 #include "components/sync/api/syncable_service.h"
30 #include "components/webdata/common/web_data_service_consumer.h" 32 #include "components/webdata/common/web_data_service_consumer.h"
31 #include "sync/api/sync_change.h"
32 #include "sync/api/syncable_service.h"
33 33
34 class GURL; 34 class GURL;
35 class PrefService; 35 class PrefService;
36 class SearchHostToURLsMap; 36 class SearchHostToURLsMap;
37 class SearchTermsData; 37 class SearchTermsData;
38 class TemplateURL; 38 class TemplateURL;
39 struct TemplateURLData; 39 struct TemplateURLData;
40 class TemplateURLServiceClient; 40 class TemplateURLServiceClient;
41 class TemplateURLServiceObserver; 41 class TemplateURLServiceObserver;
42 42
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 // Helper class to manage the default search engine. 821 // Helper class to manage the default search engine.
822 DefaultSearchManager default_search_manager_; 822 DefaultSearchManager default_search_manager_;
823 823
824 std::unique_ptr<GoogleURLTracker::Subscription> 824 std::unique_ptr<GoogleURLTracker::Subscription>
825 google_url_updated_subscription_; 825 google_url_updated_subscription_;
826 826
827 DISALLOW_COPY_AND_ASSIGN(TemplateURLService); 827 DISALLOW_COPY_AND_ASSIGN(TemplateURLService);
828 }; 828 };
829 829
830 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ 830 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698