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/browser_init.h" | 5 #include "chrome/browser/ui/browser_init.h" |
6 | 6 |
7 #include <algorithm> // For max(). | 7 #include <algorithm> // For max(). |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" | 51 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" |
52 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 52 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
53 #include "chrome/browser/printing/print_dialog_cloud.h" | 53 #include "chrome/browser/printing/print_dialog_cloud.h" |
54 #include "chrome/browser/profiles/profile.h" | 54 #include "chrome/browser/profiles/profile.h" |
55 #include "chrome/browser/profiles/profile_io_data.h" | 55 #include "chrome/browser/profiles/profile_io_data.h" |
56 #include "chrome/browser/profiles/profile_manager.h" | 56 #include "chrome/browser/profiles/profile_manager.h" |
57 #include "chrome/browser/protector/base_setting_change.h" | 57 #include "chrome/browser/protector/base_setting_change.h" |
58 #include "chrome/browser/protector/protected_prefs_watcher.h" | 58 #include "chrome/browser/protector/protected_prefs_watcher.h" |
59 #include "chrome/browser/protector/protector_service.h" | 59 #include "chrome/browser/protector/protector_service.h" |
60 #include "chrome/browser/protector/protector_service_factory.h" | 60 #include "chrome/browser/protector/protector_service_factory.h" |
| 61 #include "chrome/browser/protector/protector_utils.h" |
61 #include "chrome/browser/search_engines/template_url.h" | 62 #include "chrome/browser/search_engines/template_url.h" |
62 #include "chrome/browser/search_engines/template_url_service.h" | 63 #include "chrome/browser/search_engines/template_url_service.h" |
63 #include "chrome/browser/search_engines/template_url_service_factory.h" | 64 #include "chrome/browser/search_engines/template_url_service_factory.h" |
64 #include "chrome/browser/sessions/session_restore.h" | 65 #include "chrome/browser/sessions/session_restore.h" |
65 #include "chrome/browser/sessions/session_service.h" | 66 #include "chrome/browser/sessions/session_service.h" |
66 #include "chrome/browser/sessions/session_service_factory.h" | 67 #include "chrome/browser/sessions/session_service_factory.h" |
67 #include "chrome/browser/shell_integration.h" | 68 #include "chrome/browser/shell_integration.h" |
68 #include "chrome/browser/tab_contents/link_infobar_delegate.h" | 69 #include "chrome/browser/tab_contents/link_infobar_delegate.h" |
69 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h" | 70 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h" |
70 #include "chrome/browser/tabs/pinned_tab_codec.h" | 71 #include "chrome/browser/tabs/pinned_tab_codec.h" |
(...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1910 | 1911 |
1911 Profile* profile = ProfileManager::GetLastUsedProfile(); | 1912 Profile* profile = ProfileManager::GetLastUsedProfile(); |
1912 if (!profile) { | 1913 if (!profile) { |
1913 // We should only be able to get here if the profile already exists and | 1914 // We should only be able to get here if the profile already exists and |
1914 // has been created. | 1915 // has been created. |
1915 NOTREACHED(); | 1916 NOTREACHED(); |
1916 return; | 1917 return; |
1917 } | 1918 } |
1918 ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, Profiles(), NULL, NULL); | 1919 ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, Profiles(), NULL, NULL); |
1919 } | 1920 } |
OLD | NEW |