| OLD | NEW | 
|   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" |  | 
|   8 #include "chrome/browser/autocomplete/autocomplete_controller.h" |  | 
|   9 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" |   7 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" | 
|  10 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" |   8 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" | 
|  11 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |   9 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 
|  12 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |  10 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 
|  13 #include "chrome/browser/profiles/incognito_helpers.h" |  11 #include "chrome/browser/profiles/incognito_helpers.h" | 
|  14 #include "chrome/browser/profiles/profile.h" |  12 #include "chrome/browser/profiles/profile.h" | 
|  15 #include "chrome/browser/search_engines/template_url_service_factory.h" |  13 #include "chrome/browser/search_engines/template_url_service_factory.h" | 
|  16 #include "components/keyed_service/content/browser_context_dependency_manager.h" |  14 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 
 |  15 #include "components/omnibox/autocomplete_classifier.h" | 
 |  16 #include "components/omnibox/autocomplete_controller.h" | 
|  17  |  17  | 
|  18 #if defined(ENABLE_EXTENSIONS) |  18 #if defined(ENABLE_EXTENSIONS) | 
|  19 #include "extensions/browser/extension_system_provider.h" |  19 #include "extensions/browser/extension_system_provider.h" | 
|  20 #include "extensions/browser/extensions_browser_client.h" |  20 #include "extensions/browser/extensions_browser_client.h" | 
|  21 #endif |  21 #endif | 
|  22  |  22  | 
|  23 // static |  23 // static | 
|  24 AutocompleteClassifier* AutocompleteClassifierFactory::GetForProfile( |  24 AutocompleteClassifier* AutocompleteClassifierFactory::GetForProfile( | 
|  25     Profile* profile) { |  25     Profile* profile) { | 
|  26   return static_cast<AutocompleteClassifier*>( |  26   return static_cast<AutocompleteClassifier*>( | 
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  68 } |  68 } | 
|  69  |  69  | 
|  70 bool AutocompleteClassifierFactory::ServiceIsNULLWhileTesting() const { |  70 bool AutocompleteClassifierFactory::ServiceIsNULLWhileTesting() const { | 
|  71   return true; |  71   return true; | 
|  72 } |  72 } | 
|  73  |  73  | 
|  74 KeyedService* AutocompleteClassifierFactory::BuildServiceInstanceFor( |  74 KeyedService* AutocompleteClassifierFactory::BuildServiceInstanceFor( | 
|  75     content::BrowserContext* profile) const { |  75     content::BrowserContext* profile) const { | 
|  76   return BuildInstanceFor(static_cast<Profile*>(profile)).release(); |  76   return BuildInstanceFor(static_cast<Profile*>(profile)).release(); | 
|  77 } |  77 } | 
| OLD | NEW |