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

Side by Side Diff: chrome/browser/search_engines/chrome_template_url_service_client.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
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_CHROME_TEMPLATE_URL_SERVICE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_CHROME_TEMPLATE_URL_SERVICE_CLIENT_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_CHROME_TEMPLATE_URL_SERVICE_CLIENT_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_CHROME_TEMPLATE_URL_SERVICE_CLIENT_H_
7 7
8 #include "components/search_engines/template_url_service_client.h" 8 #include "chrome/browser/search_engines/template_url_service_client.h"
9 #include "content/public/browser/notification_observer.h" 9 #include "content/public/browser/notification_observer.h"
10 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
11 11
12 class HistoryService; 12 class HistoryService;
13 class Profile; 13 class Profile;
14 14
15 // ChromeTemplateURLServiceClient provides keyword related history 15 // ChromeTemplateURLServiceClient provides keyword related history
16 // functionality for TemplateURLService. 16 // functionality for TemplateURLService.
17 class ChromeTemplateURLServiceClient : public TemplateURLServiceClient, 17 class ChromeTemplateURLServiceClient : public TemplateURLServiceClient,
18 public content::NotificationObserver { 18 public content::NotificationObserver {
(...skipping 17 matching lines...) Expand all
36 36
37 private: 37 private:
38 Profile* profile_; 38 Profile* profile_;
39 TemplateURLService* owner_; 39 TemplateURLService* owner_;
40 content::NotificationRegistrar notification_registrar_; 40 content::NotificationRegistrar notification_registrar_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(ChromeTemplateURLServiceClient); 42 DISALLOW_COPY_AND_ASSIGN(ChromeTemplateURLServiceClient);
43 }; 43 };
44 44
45 #endif // CHROME_BROWSER_SEARCH_ENGINES_CHROME_TEMPLATE_URL_SERVICE_CLIENT_H_ 45 #endif // CHROME_BROWSER_SEARCH_ENGINES_CHROME_TEMPLATE_URL_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/DEPS ('k') | chrome/browser/search_engines/chrome_template_url_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698