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

Side by Side Diff: chrome/browser/ui/search/instant_controller.cc

Issue 430813004: Componentize content_settings_provider.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing file Created 6 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "chrome/browser/ui/search/instant_controller.h" 5 #include "chrome/browser/ui/search/instant_controller.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/content_settings/content_settings_provider.h"
11 #include "chrome/browser/content_settings/host_content_settings_map.h" 10 #include "chrome/browser/content_settings/host_content_settings_map.h"
markusheintz_ 2014/08/01 15:27:20 Looks like this is also not used.
lucinka.brozkova 2014/08/08 10:28:18 Done.
12 #include "chrome/browser/platform_util.h" 11 #include "chrome/browser/platform_util.h"
13 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/search/instant_service.h" 13 #include "chrome/browser/search/instant_service.h"
15 #include "chrome/browser/search/instant_service_factory.h" 14 #include "chrome/browser/search/instant_service_factory.h"
16 #include "chrome/browser/search/search.h" 15 #include "chrome/browser/search/search.h"
17 #include "chrome/browser/search_engines/template_url_service_factory.h" 16 #include "chrome/browser/search_engines/template_url_service_factory.h"
18 #include "chrome/browser/ui/browser_instant_controller.h" 17 #include "chrome/browser/ui/browser_instant_controller.h"
19 #include "chrome/browser/ui/search/instant_tab.h" 18 #include "chrome/browser/ui/search/instant_tab.h"
20 #include "chrome/browser/ui/search/search_tab_helper.h" 19 #include "chrome/browser/ui/search/search_tab_helper.h"
21 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 if (instant_service) { 194 if (instant_service) {
196 instant_service->UpdateThemeInfo(); 195 instant_service->UpdateThemeInfo();
197 instant_service->UpdateMostVisitedItemsInfo(); 196 instant_service->UpdateMostVisitedItemsInfo();
198 } 197 }
199 } 198 }
200 } 199 }
201 200
202 InstantService* InstantController::GetInstantService() const { 201 InstantService* InstantController::GetInstantService() const {
203 return InstantServiceFactory::GetForProfile(profile()); 202 return InstantServiceFactory::GetForProfile(profile());
204 } 203 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698