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

Side by Side Diff: chrome/browser/profiles/profile_dependency_manager.cc

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor docu-changes. Created 8 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
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.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/profiles/profile_dependency_manager.h" 5 #include "chrome/browser/profiles/profile_dependency_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <iterator> 9 #include <iterator>
10 10
11 #include "chrome/browser/autofill/personal_data_manager_factory.h" 11 #include "chrome/browser/autofill/personal_data_manager_factory.h"
12 #include "chrome/browser/background/background_contents_service_factory.h" 12 #include "chrome/browser/background/background_contents_service_factory.h"
13 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 13 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
14 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 14 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
15 #include "chrome/browser/content_settings/cookie_settings.h" 15 #include "chrome/browser/content_settings/cookie_settings.h"
16 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
16 #include "chrome/browser/download/download_service_factory.h" 17 #include "chrome/browser/download/download_service_factory.h"
17 #include "chrome/browser/extensions/api/commands/command_service_factory.h" 18 #include "chrome/browser/extensions/api/commands/command_service_factory.h"
18 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h" 19 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h"
19 #include "chrome/browser/extensions/extension_system_factory.h" 20 #include "chrome/browser/extensions/extension_system_factory.h"
20 #include "chrome/browser/google/google_url_tracker_factory.h" 21 #include "chrome/browser/google/google_url_tracker_factory.h"
21 #include "chrome/browser/history/history_service_factory.h" 22 #include "chrome/browser/history/history_service_factory.h"
22 #include "chrome/browser/history/shortcuts_backend_factory.h" 23 #include "chrome/browser/history/shortcuts_backend_factory.h"
23 #include "chrome/browser/intents/web_intents_registry_factory.h" 24 #include "chrome/browser/intents/web_intents_registry_factory.h"
24 #include "chrome/browser/media_gallery/media_gallery_registry_factory.h" 25 #include "chrome/browser/media_gallery/media_gallery_registry_factory.h"
25 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 26 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 #if !defined(OS_ANDROID) 229 #if !defined(OS_ANDROID)
229 PinnedTabServiceFactory::GetInstance(); 230 PinnedTabServiceFactory::GetInstance();
230 #endif 231 #endif
231 PluginPrefsFactory::GetInstance(); 232 PluginPrefsFactory::GetInstance();
232 predictors::AutocompleteActionPredictorFactory::GetInstance(); 233 predictors::AutocompleteActionPredictorFactory::GetInstance();
233 predictors::PredictorDatabaseFactory::GetInstance(); 234 predictors::PredictorDatabaseFactory::GetInstance();
234 predictors::ResourcePrefetchPredictorFactory::GetInstance(); 235 predictors::ResourcePrefetchPredictorFactory::GetInstance();
235 prerender::PrerenderManagerFactory::GetInstance(); 236 prerender::PrerenderManagerFactory::GetInstance();
236 prerender::PrerenderLinkManagerFactory::GetInstance(); 237 prerender::PrerenderLinkManagerFactory::GetInstance();
237 ProfileSyncServiceFactory::GetInstance(); 238 ProfileSyncServiceFactory::GetInstance();
239 ProtocolHandlerRegistryFactory::GetInstance();
238 #if defined(ENABLE_PROTECTOR_SERVICE) 240 #if defined(ENABLE_PROTECTOR_SERVICE)
239 protector::ProtectorServiceFactory::GetInstance(); 241 protector::ProtectorServiceFactory::GetInstance();
240 #endif 242 #endif
241 #if defined(ENABLE_SESSION_SERVICE) 243 #if defined(ENABLE_SESSION_SERVICE)
242 SessionServiceFactory::GetInstance(); 244 SessionServiceFactory::GetInstance();
243 #endif 245 #endif
244 ShortcutsBackendFactory::GetInstance(); 246 ShortcutsBackendFactory::GetInstance();
245 SigninManagerFactory::GetInstance(); 247 SigninManagerFactory::GetInstance();
246 #if defined(ENABLE_INPUT_SPEECH) 248 #if defined(ENABLE_INPUT_SPEECH)
247 SpeechInputExtensionManager::InitializeFactory(); 249 SpeechInputExtensionManager::InitializeFactory();
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 } 367 }
366 368
367 result.append("\n /* Toplevel profile */\n"); 369 result.append("\n /* Toplevel profile */\n");
368 result.append(" Profile [shape=box];\n"); 370 result.append(" Profile [shape=box];\n");
369 371
370 result.append("}\n"); 372 result.append("}\n");
371 return result; 373 return result;
372 } 374 }
373 375
374 #endif 376 #endif
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698