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

Side by Side Diff: chrome/browser/search/instant_service.h

Issue 368273011: Revert of Componentize TemplateURLService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/rlz/rlz.cc ('k') | chrome/browser/search/instant_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_INSTANT_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SEARCH_INSTANT_SERVICE_H_
6 #define CHROME_BROWSER_SEARCH_INSTANT_SERVICE_H_ 6 #define CHROME_BROWSER_SEARCH_INSTANT_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "chrome/browser/history/history_types.h" 14 #include "chrome/browser/history/history_types.h"
15 #include "chrome/browser/search_engines/template_url_service_observer.h"
15 #include "components/keyed_service/core/keyed_service.h" 16 #include "components/keyed_service/core/keyed_service.h"
16 #include "components/search_engines/template_url_service_observer.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
21 class InstantIOContext; 21 class InstantIOContext;
22 struct InstantMostVisitedItem; 22 struct InstantMostVisitedItem;
23 class InstantSearchPrerenderer; 23 class InstantSearchPrerenderer;
24 class InstantServiceObserver; 24 class InstantServiceObserver;
25 class Profile; 25 class Profile;
26 struct TemplateURLData; 26 struct TemplateURLData;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 // Used to check whether notifications from TemplateURLService indicate a 168 // Used to check whether notifications from TemplateURLService indicate a
169 // change that affects the default search provider. 169 // change that affects the default search provider.
170 scoped_ptr<TemplateURLData> previous_default_search_provider_; 170 scoped_ptr<TemplateURLData> previous_default_search_provider_;
171 GURL previous_google_base_url_; 171 GURL previous_google_base_url_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(InstantService); 173 DISALLOW_COPY_AND_ASSIGN(InstantService);
174 }; 174 };
175 175
176 #endif // CHROME_BROWSER_SEARCH_INSTANT_SERVICE_H_ 176 #endif // CHROME_BROWSER_SEARCH_INSTANT_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/rlz/rlz.cc ('k') | chrome/browser/search/instant_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698