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

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

Issue 9515010: Chrome on Android : Begin removing references to themes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ntp resource cache into a separate CL and removed SyncPromoUI changes. Created 8 years, 9 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 | Annotate | Revision Log
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
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 protector::ProtectorServiceFactory::GetInstance(); 178 protector::ProtectorServiceFactory::GetInstance();
179 prerender::PrerenderManagerFactory::GetInstance(); 179 prerender::PrerenderManagerFactory::GetInstance();
180 ProfileSyncServiceFactory::GetInstance(); 180 ProfileSyncServiceFactory::GetInstance();
181 SessionServiceFactory::GetInstance(); 181 SessionServiceFactory::GetInstance();
182 SigninManagerFactory::GetInstance(); 182 SigninManagerFactory::GetInstance();
183 #if defined(ENABLE_INPUT_SPEECH) 183 #if defined(ENABLE_INPUT_SPEECH)
184 SpeechInputExtensionManager::InitializeFactory(); 184 SpeechInputExtensionManager::InitializeFactory();
185 #endif 185 #endif
186 SpellCheckFactory::GetInstance(); 186 SpellCheckFactory::GetInstance();
187 TabRestoreServiceFactory::GetInstance(); 187 TabRestoreServiceFactory::GetInstance();
188 #if !defined(OS_ANDROID)
188 ThemeServiceFactory::GetInstance(); 189 ThemeServiceFactory::GetInstance();
190 #endif
189 TemplateURLServiceFactory::GetInstance(); 191 TemplateURLServiceFactory::GetInstance();
190 WebIntentsRegistryFactory::GetInstance(); 192 WebIntentsRegistryFactory::GetInstance();
191 193
192 built_factories_ = true; 194 built_factories_ = true;
193 } 195 }
194 196
195 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { 197 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) {
196 #if !defined(NDEBUG) 198 #if !defined(NDEBUG)
197 // Whenever we try to build a destruction ordering, we should also dump a 199 // Whenever we try to build a destruction ordering, we should also dump a
198 // dependency graph to "/path/to/profile/profile-dependencies.dot". 200 // dependency graph to "/path/to/profile/profile-dependencies.dot".
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 } 297 }
296 298
297 result.append("\n /* Toplevel profile */\n"); 299 result.append("\n /* Toplevel profile */\n");
298 result.append(" Profile [shape=box];\n"); 300 result.append(" Profile [shape=box];\n");
299 301
300 result.append("}\n"); 302 result.append("}\n");
301 return result; 303 return result;
302 } 304 }
303 305
304 #endif 306 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698