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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « chrome/browser/search/instant_io_context.h ('k') | chrome/browser/search/search.h » ('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 <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 23
24 class InstantIOContext; 24 class InstantIOContext;
25 struct InstantMostVisitedItem; 25 struct InstantMostVisitedItem;
26 class InstantSearchPrerenderer; 26 class InstantSearchPrerenderer;
27 class InstantServiceObserver; 27 class InstantServiceObserver;
28 class Profile; 28 class Profile;
29 struct TemplateURLData; 29 struct TemplateURLData;
30 class TemplateURLService; 30 class TemplateURLService;
31 struct ThemeBackgroundInfo; 31 struct ThemeBackgroundInfo;
32 class ThemeService;
33 32
34 namespace content { 33 namespace content {
35 class RenderProcessHost; 34 class RenderProcessHost;
36 } 35 }
37 36
38 // Tracks render process host IDs that are associated with Instant. 37 // Tracks render process host IDs that are associated with Instant.
39 class InstantService : public KeyedService, 38 class InstantService : public KeyedService,
40 public content::NotificationObserver, 39 public content::NotificationObserver,
41 public TemplateURLServiceObserver, 40 public TemplateURLServiceObserver,
42 public history::TopSitesObserver { 41 public history::TopSitesObserver {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 std::unique_ptr<TemplateURLData> previous_default_search_provider_; 168 std::unique_ptr<TemplateURLData> previous_default_search_provider_;
170 GURL previous_google_base_url_; 169 GURL previous_google_base_url_;
171 170
172 // Used for Top Sites async retrieval. 171 // Used for Top Sites async retrieval.
173 base::WeakPtrFactory<InstantService> weak_ptr_factory_; 172 base::WeakPtrFactory<InstantService> weak_ptr_factory_;
174 173
175 DISALLOW_COPY_AND_ASSIGN(InstantService); 174 DISALLOW_COPY_AND_ASSIGN(InstantService);
176 }; 175 };
177 176
178 #endif // CHROME_BROWSER_SEARCH_INSTANT_SERVICE_H_ 177 #endif // CHROME_BROWSER_SEARCH_INSTANT_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/search/instant_io_context.h ('k') | chrome/browser/search/search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698