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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 protector::ProtectorServiceFactory::GetInstance(); | 181 protector::ProtectorServiceFactory::GetInstance(); |
182 prerender::PrerenderManagerFactory::GetInstance(); | 182 prerender::PrerenderManagerFactory::GetInstance(); |
183 ProfileSyncServiceFactory::GetInstance(); | 183 ProfileSyncServiceFactory::GetInstance(); |
184 SessionServiceFactory::GetInstance(); | 184 SessionServiceFactory::GetInstance(); |
185 SigninManagerFactory::GetInstance(); | 185 SigninManagerFactory::GetInstance(); |
186 #if defined(ENABLE_INPUT_SPEECH) | 186 #if defined(ENABLE_INPUT_SPEECH) |
187 SpeechInputExtensionManager::InitializeFactory(); | 187 SpeechInputExtensionManager::InitializeFactory(); |
188 #endif | 188 #endif |
189 SpellCheckFactory::GetInstance(); | 189 SpellCheckFactory::GetInstance(); |
190 TabRestoreServiceFactory::GetInstance(); | 190 TabRestoreServiceFactory::GetInstance(); |
| 191 #if !defined(OS_ANDROID) |
191 ThemeServiceFactory::GetInstance(); | 192 ThemeServiceFactory::GetInstance(); |
| 193 #endif |
192 TemplateURLServiceFactory::GetInstance(); | 194 TemplateURLServiceFactory::GetInstance(); |
193 TokenServiceFactory::GetInstance(); | 195 TokenServiceFactory::GetInstance(); |
194 WebIntentsRegistryFactory::GetInstance(); | 196 WebIntentsRegistryFactory::GetInstance(); |
195 | 197 |
196 built_factories_ = true; | 198 built_factories_ = true; |
197 } | 199 } |
198 | 200 |
199 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { | 201 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { |
200 #if !defined(NDEBUG) | 202 #if !defined(NDEBUG) |
201 // Whenever we try to build a destruction ordering, we should also dump a | 203 // Whenever we try to build a destruction ordering, we should also dump a |
(...skipping 97 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 |