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

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

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26 matching lines...) Expand all
37 #include "chrome/browser/extensions/api/preference/preference_api.h" 37 #include "chrome/browser/extensions/api/preference/preference_api.h"
38 #include "chrome/browser/extensions/api/processes/processes_api.h" 38 #include "chrome/browser/extensions/api/processes/processes_api.h"
39 #include "chrome/browser/extensions/api/push_messaging/push_messaging_api.h" 39 #include "chrome/browser/extensions/api/push_messaging/push_messaging_api.h"
40 #include "chrome/browser/extensions/api/session_restore/session_restore_api.h" 40 #include "chrome/browser/extensions/api/session_restore/session_restore_api.h"
41 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h" 41 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h"
42 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" 42 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h"
43 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" 43 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h"
44 #include "chrome/browser/extensions/extension_system_factory.h" 44 #include "chrome/browser/extensions/extension_system_factory.h"
45 #include "chrome/browser/extensions/manifest_url_parser.h" 45 #include "chrome/browser/extensions/manifest_url_parser.h"
46 #include "chrome/browser/extensions/web_accessible_resources_parser.h" 46 #include "chrome/browser/extensions/web_accessible_resources_parser.h"
47 #include "chrome/browser/extensions/web_intents_parser.h"
48 #include "chrome/browser/favicon/favicon_service_factory.h" 47 #include "chrome/browser/favicon/favicon_service_factory.h"
49 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 48 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
50 #include "chrome/browser/google/google_url_tracker_factory.h" 49 #include "chrome/browser/google/google_url_tracker_factory.h"
51 #include "chrome/browser/history/history_service_factory.h" 50 #include "chrome/browser/history/history_service_factory.h"
52 #include "chrome/browser/history/shortcuts_backend_factory.h" 51 #include "chrome/browser/history/shortcuts_backend_factory.h"
53 #include "chrome/browser/intents/web_intents_registry_factory.h"
54 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h" 52 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h"
55 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 53 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
56 #include "chrome/browser/password_manager/password_store_factory.h" 54 #include "chrome/browser/password_manager/password_store_factory.h"
57 #include "chrome/browser/plugins/plugin_prefs_factory.h" 55 #include "chrome/browser/plugins/plugin_prefs_factory.h"
58 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 56 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
59 #include "chrome/browser/predictors/predictor_database_factory.h" 57 #include "chrome/browser/predictors/predictor_database_factory.h"
60 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 58 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
61 #include "chrome/browser/prerender/prerender_link_manager_factory.h" 59 #include "chrome/browser/prerender/prerender_link_manager_factory.h"
62 #include "chrome/browser/prerender/prerender_manager_factory.h" 60 #include "chrome/browser/prerender/prerender_manager_factory.h"
63 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 61 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 extensions::PushMessagingAPI::GetFactoryInstance(); 287 extensions::PushMessagingAPI::GetFactoryInstance();
290 extensions::SessionRestoreAPI::GetFactoryInstance(); 288 extensions::SessionRestoreAPI::GetFactoryInstance();
291 #if defined(ENABLE_INPUT_SPEECH) 289 #if defined(ENABLE_INPUT_SPEECH)
292 extensions::SpeechInputAPI::GetFactoryInstance(); 290 extensions::SpeechInputAPI::GetFactoryInstance();
293 #endif 291 #endif
294 extensions::SuggestedLinksRegistryFactory::GetInstance(); 292 extensions::SuggestedLinksRegistryFactory::GetInstance();
295 extensions::TabCaptureRegistryFactory::GetInstance(); 293 extensions::TabCaptureRegistryFactory::GetInstance();
296 extensions::TabsWindowsAPI::GetFactoryInstance(); 294 extensions::TabsWindowsAPI::GetFactoryInstance();
297 extensions::TtsAPI::GetFactoryInstance(); 295 extensions::TtsAPI::GetFactoryInstance();
298 extensions::WebAccessibleResourcesParser::GetFactoryInstance(); 296 extensions::WebAccessibleResourcesParser::GetFactoryInstance();
299 #if defined(ENABLE_WEB_INTENTS)
300 extensions::WebIntentsParser::GetFactoryInstance();
301 #endif
302 extensions::WebNavigationAPI::GetFactoryInstance(); 297 extensions::WebNavigationAPI::GetFactoryInstance();
303 #endif 298 #endif
304 FaviconServiceFactory::GetInstance(); 299 FaviconServiceFactory::GetInstance();
305 #if defined(OS_CHROMEOS) && defined(FILE_MANAGER_EXTENSION) 300 #if defined(OS_CHROMEOS) && defined(FILE_MANAGER_EXTENSION)
306 FileBrowserPrivateAPIFactory::GetInstance(); 301 FileBrowserPrivateAPIFactory::GetInstance();
307 #endif 302 #endif
308 FindBarStateFactory::GetInstance(); 303 FindBarStateFactory::GetInstance();
309 GAIAInfoUpdateServiceFactory::GetInstance(); 304 GAIAInfoUpdateServiceFactory::GetInstance();
310 #if defined(USE_AURA) 305 #if defined(USE_AURA)
311 GesturePrefsObserverFactoryAura::GetInstance(); 306 GesturePrefsObserverFactoryAura::GetInstance();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 SpellcheckServiceFactory::GetInstance(); 341 SpellcheckServiceFactory::GetInstance();
347 TabRestoreServiceFactory::GetInstance(); 342 TabRestoreServiceFactory::GetInstance();
348 TemplateURLFetcherFactory::GetInstance(); 343 TemplateURLFetcherFactory::GetInstance();
349 TemplateURLServiceFactory::GetInstance(); 344 TemplateURLServiceFactory::GetInstance();
350 #if defined(ENABLE_THEMES) 345 #if defined(ENABLE_THEMES)
351 ThemeServiceFactory::GetInstance(); 346 ThemeServiceFactory::GetInstance();
352 #endif 347 #endif
353 TokenServiceFactory::GetInstance(); 348 TokenServiceFactory::GetInstance();
354 UserStyleSheetWatcherFactory::GetInstance(); 349 UserStyleSheetWatcherFactory::GetInstance();
355 WebDataServiceFactory::GetInstance(); 350 WebDataServiceFactory::GetInstance();
356 #if defined(ENABLE_WEB_INTENTS)
357 WebIntentsRegistryFactory::GetInstance();
358 #endif
359 351
360 built_factories_ = true; 352 built_factories_ = true;
361 } 353 }
362 354
363 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { 355 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) {
364 #if !defined(NDEBUG) 356 #if !defined(NDEBUG)
365 // Whenever we try to build a destruction ordering, we should also dump a 357 // Whenever we try to build a destruction ordering, we should also dump a
366 // dependency graph to "/path/to/profile/profile-dependencies.dot". 358 // dependency graph to "/path/to/profile/profile-dependencies.dot".
367 if (CommandLine::ForCurrentProcess()->HasSwitch( 359 if (CommandLine::ForCurrentProcess()->HasSwitch(
368 switches::kDumpProfileDependencyGraph)) { 360 switches::kDumpProfileDependencyGraph)) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 } 455 }
464 456
465 result.append("\n /* Toplevel profile */\n"); 457 result.append("\n /* Toplevel profile */\n");
466 result.append(" Profile [shape=box];\n"); 458 result.append(" Profile [shape=box];\n");
467 459
468 result.append("}\n"); 460 result.append("}\n");
469 return result; 461 return result;
470 } 462 }
471 463
472 #endif 464 #endif
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698