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

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

Issue 11573060: Remove VisitedLink dependency on rest of chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use delegate instead Created 8 years 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "chrome/browser/spellchecker/spellcheck_factory.h" 64 #include "chrome/browser/spellchecker/spellcheck_factory.h"
65 #include "chrome/browser/sync/profile_sync_service_factory.h" 65 #include "chrome/browser/sync/profile_sync_service_factory.h"
66 #include "chrome/browser/themes/theme_service_factory.h" 66 #include "chrome/browser/themes/theme_service_factory.h"
67 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" 67 #include "chrome/browser/thumbnails/thumbnail_service_factory.h"
68 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" 68 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h"
69 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 69 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
70 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" 70 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h"
71 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" 71 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h"
72 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" 72 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
73 #include "chrome/browser/user_style_sheet_watcher_factory.h" 73 #include "chrome/browser/user_style_sheet_watcher_factory.h"
74 #include "chrome/browser/visitedlink/visitedlink_master_factory.h"
75 #include "chrome/browser/webdata/web_data_service_factory.h" 74 #include "chrome/browser/webdata/web_data_service_factory.h"
76 75
77 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 76 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
78 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 77 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
79 #endif 78 #endif
80 79
81 #if defined(ENABLE_CONFIGURATION_POLICY) 80 #if defined(ENABLE_CONFIGURATION_POLICY)
82 #include "chrome/browser/policy/user_policy_signin_service_factory.h" 81 #include "chrome/browser/policy/user_policy_signin_service_factory.h"
83 #endif 82 #endif
84 83
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 #endif 298 #endif
300 SpellcheckServiceFactory::GetInstance(); 299 SpellcheckServiceFactory::GetInstance();
301 TabRestoreServiceFactory::GetInstance(); 300 TabRestoreServiceFactory::GetInstance();
302 TemplateURLFetcherFactory::GetInstance(); 301 TemplateURLFetcherFactory::GetInstance();
303 TemplateURLServiceFactory::GetInstance(); 302 TemplateURLServiceFactory::GetInstance();
304 #if defined(ENABLE_THEMES) 303 #if defined(ENABLE_THEMES)
305 ThemeServiceFactory::GetInstance(); 304 ThemeServiceFactory::GetInstance();
306 #endif 305 #endif
307 TokenServiceFactory::GetInstance(); 306 TokenServiceFactory::GetInstance();
308 UserStyleSheetWatcherFactory::GetInstance(); 307 UserStyleSheetWatcherFactory::GetInstance();
309 VisitedLinkMasterFactory::GetInstance();
310 WebDataServiceFactory::GetInstance(); 308 WebDataServiceFactory::GetInstance();
311 #if defined(ENABLE_WEB_INTENTS) 309 #if defined(ENABLE_WEB_INTENTS)
312 WebIntentsRegistryFactory::GetInstance(); 310 WebIntentsRegistryFactory::GetInstance();
313 #endif 311 #endif
314 312
315 built_factories_ = true; 313 built_factories_ = true;
316 } 314 }
317 315
318 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { 316 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) {
319 #if !defined(NDEBUG) 317 #if !defined(NDEBUG)
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 } 416 }
419 417
420 result.append("\n /* Toplevel profile */\n"); 418 result.append("\n /* Toplevel profile */\n");
421 result.append(" Profile [shape=box];\n"); 419 result.append(" Profile [shape=box];\n");
422 420
423 result.append("}\n"); 421 result.append("}\n");
424 return result; 422 return result;
425 } 423 }
426 424
427 #endif 425 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698