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

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: Address joth's comments Created 7 years, 11 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #include "chrome/browser/spellchecker/spellcheck_factory.h" 66 #include "chrome/browser/spellchecker/spellcheck_factory.h"
67 #include "chrome/browser/sync/profile_sync_service_factory.h" 67 #include "chrome/browser/sync/profile_sync_service_factory.h"
68 #include "chrome/browser/themes/theme_service_factory.h" 68 #include "chrome/browser/themes/theme_service_factory.h"
69 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" 69 #include "chrome/browser/thumbnails/thumbnail_service_factory.h"
70 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" 70 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h"
71 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 71 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
72 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" 72 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h"
73 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" 73 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h"
74 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" 74 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
75 #include "chrome/browser/user_style_sheet_watcher_factory.h" 75 #include "chrome/browser/user_style_sheet_watcher_factory.h"
76 #include "chrome/browser/visitedlink/visitedlink_master_factory.h"
77 #include "chrome/browser/webdata/web_data_service_factory.h" 76 #include "chrome/browser/webdata/web_data_service_factory.h"
78 77
79 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 78 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
80 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 79 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
81 #endif 80 #endif
82 81
83 #if defined(ENABLE_CONFIGURATION_POLICY) 82 #if defined(ENABLE_CONFIGURATION_POLICY)
84 #include "chrome/browser/policy/user_policy_signin_service_factory.h" 83 #include "chrome/browser/policy/user_policy_signin_service_factory.h"
85 #endif 84 #endif
86 85
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 #endif 312 #endif
314 SpellcheckServiceFactory::GetInstance(); 313 SpellcheckServiceFactory::GetInstance();
315 TabRestoreServiceFactory::GetInstance(); 314 TabRestoreServiceFactory::GetInstance();
316 TemplateURLFetcherFactory::GetInstance(); 315 TemplateURLFetcherFactory::GetInstance();
317 TemplateURLServiceFactory::GetInstance(); 316 TemplateURLServiceFactory::GetInstance();
318 #if defined(ENABLE_THEMES) 317 #if defined(ENABLE_THEMES)
319 ThemeServiceFactory::GetInstance(); 318 ThemeServiceFactory::GetInstance();
320 #endif 319 #endif
321 TokenServiceFactory::GetInstance(); 320 TokenServiceFactory::GetInstance();
322 UserStyleSheetWatcherFactory::GetInstance(); 321 UserStyleSheetWatcherFactory::GetInstance();
323 VisitedLinkMasterFactory::GetInstance();
324 WebDataServiceFactory::GetInstance(); 322 WebDataServiceFactory::GetInstance();
325 #if defined(ENABLE_WEB_INTENTS) 323 #if defined(ENABLE_WEB_INTENTS)
326 WebIntentsRegistryFactory::GetInstance(); 324 WebIntentsRegistryFactory::GetInstance();
327 #endif 325 #endif
328 326
329 built_factories_ = true; 327 built_factories_ = true;
330 } 328 }
331 329
332 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { 330 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) {
333 #if !defined(NDEBUG) 331 #if !defined(NDEBUG)
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 } 430 }
433 431
434 result.append("\n /* Toplevel profile */\n"); 432 result.append("\n /* Toplevel profile */\n");
435 result.append(" Profile [shape=box];\n"); 433 result.append(" Profile [shape=box];\n");
436 434
437 result.append("}\n"); 435 result.append("}\n");
438 return result; 436 return result;
439 } 437 }
440 438
441 #endif 439 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698