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

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

Issue 14636012: Move ShellWindowGeometryCache into apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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
11 #include "apps/app_restore_service_factory.h" 11 #include "apps/app_restore_service_factory.h"
12 #include "apps/shell_window_geometry_cache.h"
12 #include "apps/shortcut_manager_factory.h" 13 #include "apps/shortcut_manager_factory.h"
13 #include "chrome/browser/autofill/autocheckout_whitelist_manager_factory.h" 14 #include "chrome/browser/autofill/autocheckout_whitelist_manager_factory.h"
14 #include "chrome/browser/autofill/personal_data_manager_factory.h" 15 #include "chrome/browser/autofill/personal_data_manager_factory.h"
15 #include "chrome/browser/background/background_contents_service_factory.h" 16 #include "chrome/browser/background/background_contents_service_factory.h"
16 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 17 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
17 #include "chrome/browser/content_settings/cookie_settings.h" 18 #include "chrome/browser/content_settings/cookie_settings.h"
18 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" 19 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
19 #include "chrome/browser/download/download_service_factory.h" 20 #include "chrome/browser/download/download_service_factory.h"
20 #include "chrome/browser/extensions/activity_log/activity_log.h" 21 #include "chrome/browser/extensions/activity_log/activity_log.h"
21 #include "chrome/browser/extensions/api/alarms/alarm_manager.h" 22 #include "chrome/browser/extensions/api/alarms/alarm_manager.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 #if defined(ENABLE_PRINTING) 262 #if defined(ENABLE_PRINTING)
262 CloudPrintProxyServiceFactory::GetInstance(); 263 CloudPrintProxyServiceFactory::GetInstance();
263 #endif 264 #endif
264 CookieSettings::Factory::GetInstance(); 265 CookieSettings::Factory::GetInstance();
265 #if defined(ENABLE_NOTIFICATIONS) 266 #if defined(ENABLE_NOTIFICATIONS)
266 DesktopNotificationServiceFactory::GetInstance(); 267 DesktopNotificationServiceFactory::GetInstance();
267 #endif 268 #endif
268 DownloadServiceFactory::GetInstance(); 269 DownloadServiceFactory::GetInstance();
269 #if defined(ENABLE_EXTENSIONS) 270 #if defined(ENABLE_EXTENSIONS)
270 apps::AppRestoreServiceFactory::GetInstance(); 271 apps::AppRestoreServiceFactory::GetInstance();
272 apps::ShellWindowGeometryCache::Factory::GetInstance();
271 apps::ShortcutManagerFactory::GetInstance(); 273 apps::ShortcutManagerFactory::GetInstance();
272 autofill::autocheckout::WhitelistManagerFactory::GetInstance(); 274 autofill::autocheckout::WhitelistManagerFactory::GetInstance();
273 extensions::ActivityLogFactory::GetInstance(); 275 extensions::ActivityLogFactory::GetInstance();
274 extensions::AlarmManager::GetFactoryInstance(); 276 extensions::AlarmManager::GetFactoryInstance();
275 extensions::AudioAPI::GetFactoryInstance(); 277 extensions::AudioAPI::GetFactoryInstance();
276 extensions::BookmarksAPI::GetFactoryInstance(); 278 extensions::BookmarksAPI::GetFactoryInstance();
277 extensions::BluetoothAPIFactory::GetInstance(); 279 extensions::BluetoothAPIFactory::GetInstance();
278 extensions::CommandService::GetFactoryInstance(); 280 extensions::CommandService::GetFactoryInstance();
279 extensions::CookiesAPI::GetFactoryInstance(); 281 extensions::CookiesAPI::GetFactoryInstance();
280 extensions::DialAPIFactory::GetInstance(); 282 extensions::DialAPIFactory::GetInstance();
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 if (CommandLine::ForCurrentProcess()->HasSwitch( 403 if (CommandLine::ForCurrentProcess()->HasSwitch(
402 switches::kDumpProfileDependencyGraph)) { 404 switches::kDumpProfileDependencyGraph)) {
403 base::FilePath dot_file = 405 base::FilePath dot_file =
404 profile->GetPath().AppendASCII("profile-dependencies.dot"); 406 profile->GetPath().AppendASCII("profile-dependencies.dot");
405 std::string contents = dependency_graph_.DumpAsGraphviz( 407 std::string contents = dependency_graph_.DumpAsGraphviz(
406 "Profile", base::Bind(&ProfileKeyedBaseFactoryGetNodeName)); 408 "Profile", base::Bind(&ProfileKeyedBaseFactoryGetNodeName));
407 file_util::WriteFile(dot_file, contents.c_str(), contents.size()); 409 file_util::WriteFile(dot_file, contents.c_str(), contents.size());
408 } 410 }
409 } 411 }
410 #endif // NDEBUG 412 #endif // NDEBUG
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_system.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698