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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_classifier_factory.cc

Issue 200493006: Move the ShortcutsBackend from history to autocomplete so that it can fully (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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 | « no previous file | chrome/browser/autocomplete/shortcuts_backend.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/autocomplete/autocomplete_classifier_factory.h" 5 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h"
6 6
7 #include "chrome/browser/autocomplete/autocomplete_classifier.h" 7 #include "chrome/browser/autocomplete/autocomplete_classifier.h"
8 #include "chrome/browser/history/shortcuts_backend_factory.h" 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
9 #include "chrome/browser/profiles/incognito_helpers.h" 9 #include "chrome/browser/profiles/incognito_helpers.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/search_engines/template_url_service_factory.h" 11 #include "chrome/browser/search_engines/template_url_service_factory.h"
12 #include "components/keyed_service/content/browser_context_dependency_manager.h" 12 #include "components/keyed_service/content/browser_context_dependency_manager.h"
13 #include "extensions/browser/extension_system_provider.h" 13 #include "extensions/browser/extension_system_provider.h"
14 #include "extensions/browser/extensions_browser_client.h" 14 #include "extensions/browser/extensions_browser_client.h"
15 15
16 // static 16 // static
17 AutocompleteClassifier* AutocompleteClassifierFactory::GetForProfile( 17 AutocompleteClassifier* AutocompleteClassifierFactory::GetForProfile(
18 Profile* profile) { 18 Profile* profile) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 bool AutocompleteClassifierFactory::ServiceIsNULLWhileTesting() const { 54 bool AutocompleteClassifierFactory::ServiceIsNULLWhileTesting() const {
55 return true; 55 return true;
56 } 56 }
57 57
58 KeyedService* AutocompleteClassifierFactory::BuildServiceInstanceFor( 58 KeyedService* AutocompleteClassifierFactory::BuildServiceInstanceFor(
59 content::BrowserContext* profile) const { 59 content::BrowserContext* profile) const {
60 return BuildInstanceFor(static_cast<Profile*>(profile)); 60 return BuildInstanceFor(static_cast<Profile*>(profile));
61 } 61 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/shortcuts_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698