| 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/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 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // FooServiceFactory here will scale or is desireable long term. | 162 // FooServiceFactory here will scale or is desireable long term. |
| 163 void ProfileDependencyManager::AssertFactoriesBuilt() { | 163 void ProfileDependencyManager::AssertFactoriesBuilt() { |
| 164 if (built_factories_) | 164 if (built_factories_) |
| 165 return; | 165 return; |
| 166 | 166 |
| 167 BackgroundContentsServiceFactory::GetInstance(); | 167 BackgroundContentsServiceFactory::GetInstance(); |
| 168 #if !defined(OS_ANDROID) | 168 #if !defined(OS_ANDROID) |
| 169 CloudPrintProxyServiceFactory::GetInstance(); | 169 CloudPrintProxyServiceFactory::GetInstance(); |
| 170 #endif | 170 #endif |
| 171 CookieSettings::Factory::GetInstance(); | 171 CookieSettings::Factory::GetInstance(); |
| 172 #if defined(ENABLE_NOTIFICATIONS) |
| 172 DesktopNotificationServiceFactory::GetInstance(); | 173 DesktopNotificationServiceFactory::GetInstance(); |
| 174 #endif |
| 173 DownloadServiceFactory::GetInstance(); | 175 DownloadServiceFactory::GetInstance(); |
| 174 FindBarStateFactory::GetInstance(); | 176 FindBarStateFactory::GetInstance(); |
| 175 GlobalErrorServiceFactory::GetInstance(); | 177 GlobalErrorServiceFactory::GetInstance(); |
| 176 NetworkActionPredictorFactory::GetInstance(); | 178 NetworkActionPredictorFactory::GetInstance(); |
| 177 NTPResourceCacheFactory::GetInstance(); | 179 NTPResourceCacheFactory::GetInstance(); |
| 178 PersonalDataManagerFactory::GetInstance(); | 180 PersonalDataManagerFactory::GetInstance(); |
| 179 PinnedTabServiceFactory::GetInstance(); | 181 PinnedTabServiceFactory::GetInstance(); |
| 180 PluginPrefsFactory::GetInstance(); | 182 PluginPrefsFactory::GetInstance(); |
| 181 protector::ProtectorServiceFactory::GetInstance(); | 183 protector::ProtectorServiceFactory::GetInstance(); |
| 182 prerender::PrerenderManagerFactory::GetInstance(); | 184 prerender::PrerenderManagerFactory::GetInstance(); |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 } | 301 } |
| 300 | 302 |
| 301 result.append("\n /* Toplevel profile */\n"); | 303 result.append("\n /* Toplevel profile */\n"); |
| 302 result.append(" Profile [shape=box];\n"); | 304 result.append(" Profile [shape=box];\n"); |
| 303 | 305 |
| 304 result.append("}\n"); | 306 result.append("}\n"); |
| 305 return result; | 307 return result; |
| 306 } | 308 } |
| 307 | 309 |
| 308 #endif | 310 #endif |
| OLD | NEW |