| OLD | NEW |
| 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/ui/startup/startup_browser_creator_impl.h" | 5 #include "chrome/browser/ui/startup/startup_browser_creator_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "apps/shell_integration.h" |
| 10 #include "apps/app_restore_service.h" | 11 #include "apps/app_restore_service.h" |
| 11 #include "apps/app_restore_service_factory.h" | 12 #include "apps/app_restore_service_factory.h" |
| 12 #include "base/bind.h" | 13 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
| 14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 15 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
| 16 #include "base/environment.h" | 17 #include "base/environment.h" |
| 17 #include "base/lazy_instance.h" | 18 #include "base/lazy_instance.h" |
| 18 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 19 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 #include "chrome/browser/notifications/desktop_notification_service.h" | 40 #include "chrome/browser/notifications/desktop_notification_service.h" |
| 40 #include "chrome/browser/performance_monitor/startup_timer.h" | 41 #include "chrome/browser/performance_monitor/startup_timer.h" |
| 41 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 42 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 42 #include "chrome/browser/prefs/session_startup_pref.h" | 43 #include "chrome/browser/prefs/session_startup_pref.h" |
| 43 #include "chrome/browser/profiles/profile.h" | 44 #include "chrome/browser/profiles/profile.h" |
| 44 #include "chrome/browser/profiles/profile_io_data.h" | 45 #include "chrome/browser/profiles/profile_io_data.h" |
| 45 #include "chrome/browser/rlz/rlz.h" | 46 #include "chrome/browser/rlz/rlz.h" |
| 46 #include "chrome/browser/sessions/session_restore.h" | 47 #include "chrome/browser/sessions/session_restore.h" |
| 47 #include "chrome/browser/sessions/session_service.h" | 48 #include "chrome/browser/sessions/session_service.h" |
| 48 #include "chrome/browser/sessions/session_service_factory.h" | 49 #include "chrome/browser/sessions/session_service_factory.h" |
| 49 #include "chrome/browser/shell_integration.h" | |
| 50 #include "chrome/browser/ui/browser_commands.h" | 50 #include "chrome/browser/ui/browser_commands.h" |
| 51 #include "chrome/browser/ui/browser_finder.h" | 51 #include "chrome/browser/ui/browser_finder.h" |
| 52 #include "chrome/browser/ui/browser_list.h" | 52 #include "chrome/browser/ui/browser_list.h" |
| 53 #include "chrome/browser/ui/browser_navigator.h" | 53 #include "chrome/browser/ui/browser_navigator.h" |
| 54 #include "chrome/browser/ui/browser_tabrestore.h" | 54 #include "chrome/browser/ui/browser_tabrestore.h" |
| 55 #include "chrome/browser/ui/browser_tabstrip.h" | 55 #include "chrome/browser/ui/browser_tabstrip.h" |
| 56 #include "chrome/browser/ui/browser_window.h" | 56 #include "chrome/browser/ui/browser_window.h" |
| 57 #include "chrome/browser/ui/extensions/application_launch.h" | 57 #include "chrome/browser/ui/extensions/application_launch.h" |
| 58 #include "chrome/browser/ui/host_desktop.h" | 58 #include "chrome/browser/ui/host_desktop.h" |
| 59 #include "chrome/browser/ui/startup/autolaunch_prompt.h" | 59 #include "chrome/browser/ui/startup/autolaunch_prompt.h" |
| (...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 } | 943 } |
| 944 | 944 |
| 945 #if !defined(OS_WIN) || defined(USE_AURA) | 945 #if !defined(OS_WIN) || defined(USE_AURA) |
| 946 // static | 946 // static |
| 947 bool StartupBrowserCreatorImpl::OpenStartupURLsInExistingBrowser( | 947 bool StartupBrowserCreatorImpl::OpenStartupURLsInExistingBrowser( |
| 948 Profile* profile, | 948 Profile* profile, |
| 949 const std::vector<GURL>& startup_urls) { | 949 const std::vector<GURL>& startup_urls) { |
| 950 return false; | 950 return false; |
| 951 } | 951 } |
| 952 #endif | 952 #endif |
| OLD | NEW |