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

Side by Side Diff: ios/chrome/browser/browser_state/browser_state_keyed_service_factories.mm

Issue 1222013005: Implements WebHistoryServiceFactory on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h" 5 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h"
6 6
7 #include "ios/chrome/browser/bookmarks/startup_task_runner_service_factory.h" 7 #include "ios/chrome/browser/bookmarks/startup_task_runner_service_factory.h"
8 #include "ios/chrome/browser/content_settings/cookie_settings_factory.h" 8 #include "ios/chrome/browser/content_settings/cookie_settings_factory.h"
9 #include "ios/chrome/browser/dom_distiller/dom_distiller_service_factory.h" 9 #include "ios/chrome/browser/dom_distiller/dom_distiller_service_factory.h"
10 #include "ios/chrome/browser/enhanced_bookmarks/bookmark_image_service_factory.h " 10 #include "ios/chrome/browser/enhanced_bookmarks/bookmark_image_service_factory.h "
11 #include "ios/chrome/browser/enhanced_bookmarks/bookmark_server_cluster_service_ factory.h" 11 #include "ios/chrome/browser/enhanced_bookmarks/bookmark_server_cluster_service_ factory.h"
12 #include "ios/chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory. h" 12 #include "ios/chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory. h"
13 #include "ios/chrome/browser/favicon/favicon_service_factory.h" 13 #include "ios/chrome/browser/favicon/favicon_service_factory.h"
14 #include "ios/chrome/browser/history/history_service_factory.h" 14 #include "ios/chrome/browser/history/history_service_factory.h"
15 #include "ios/chrome/browser/history/top_sites_factory.h" 15 #include "ios/chrome/browser/history/top_sites_factory.h"
16 #include "ios/chrome/browser/history/web_history_service_factory.h"
16 #include "ios/chrome/browser/signin/signin_error_controller_factory.h" 17 #include "ios/chrome/browser/signin/signin_error_controller_factory.h"
17 #include "ios/chrome/browser/suggestions/suggestions_service_factory.h" 18 #include "ios/chrome/browser/suggestions/suggestions_service_factory.h"
18 #include "ios/chrome/browser/sync/sync_setup_service_factory.h" 19 #include "ios/chrome/browser/sync/sync_setup_service_factory.h"
19 #include "ios/chrome/browser/translate/translate_accept_languages_factory.h" 20 #include "ios/chrome/browser/translate/translate_accept_languages_factory.h"
20 #include "ios/chrome/browser/undo/bookmark_undo_service_factory.h" 21 #include "ios/chrome/browser/undo/bookmark_undo_service_factory.h"
21 #include "ios/chrome/browser/web_data_service_factory.h" 22 #include "ios/chrome/browser/web_data_service_factory.h"
22 #include "ios/public/provider/chrome/browser/keyed_service_provider.h" 23 #include "ios/public/provider/chrome/browser/keyed_service_provider.h"
23 24
24 // This method gets the instance of each ServiceFactory. We do this so that 25 // This method gets the instance of each ServiceFactory. We do this so that
25 // each ServiceFactory initializes itself and registers its dependencies with 26 // each ServiceFactory initializes itself and registers its dependencies with
(...skipping 10 matching lines...) Expand all
36 enhanced_bookmarks::BookmarkServerClusterServiceFactory::GetInstance(); 37 enhanced_bookmarks::BookmarkServerClusterServiceFactory::GetInstance();
37 enhanced_bookmarks::EnhancedBookmarkModelFactory::GetInstance(); 38 enhanced_bookmarks::EnhancedBookmarkModelFactory::GetInstance();
38 ios::BookmarkUndoServiceFactory::GetInstance(); 39 ios::BookmarkUndoServiceFactory::GetInstance();
39 ios::CookieSettingsFactory::GetInstance(); 40 ios::CookieSettingsFactory::GetInstance();
40 ios::FaviconServiceFactory::GetInstance(); 41 ios::FaviconServiceFactory::GetInstance();
41 ios::HistoryServiceFactory::GetInstance(); 42 ios::HistoryServiceFactory::GetInstance();
42 ios::SigninErrorControllerFactory::GetInstance(); 43 ios::SigninErrorControllerFactory::GetInstance();
43 ios::StartupTaskRunnerServiceFactory::GetInstance(); 44 ios::StartupTaskRunnerServiceFactory::GetInstance();
44 ios::TopSitesFactory::GetInstance(); 45 ios::TopSitesFactory::GetInstance();
45 ios::WebDataServiceFactory::GetInstance(); 46 ios::WebDataServiceFactory::GetInstance();
47 ios::WebHistoryServiceFactory::GetInstance();
46 suggestions::SuggestionsServiceFactory::GetInstance(); 48 suggestions::SuggestionsServiceFactory::GetInstance();
47 SyncSetupServiceFactory::GetInstance(); 49 SyncSetupServiceFactory::GetInstance();
48 TranslateAcceptLanguagesFactory::GetInstance(); 50 TranslateAcceptLanguagesFactory::GetInstance();
49 51
50 if (ios::GetKeyedServiceProvider()) 52 if (ios::GetKeyedServiceProvider())
51 ios::GetKeyedServiceProvider()->AssertKeyedFactoriesBuilt(); 53 ios::GetKeyedServiceProvider()->AssertKeyedFactoriesBuilt();
52 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698