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

Side by Side Diff: chrome/browser/ui/browser_init.cc

Issue 8992034: Merge 114608, 115692 to 963 (M17) branch. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/963/src/
Patch Set: rebasing, checking for diffs before merge Created 8 years, 12 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "chrome/browser/sessions/session_service_factory.h" 56 #include "chrome/browser/sessions/session_service_factory.h"
57 #include "chrome/browser/shell_integration.h" 57 #include "chrome/browser/shell_integration.h"
58 #include "chrome/browser/tab_contents/link_infobar_delegate.h" 58 #include "chrome/browser/tab_contents/link_infobar_delegate.h"
59 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h" 59 #include "chrome/browser/tab_contents/simple_alert_infobar_delegate.h"
60 #include "chrome/browser/tabs/pinned_tab_codec.h" 60 #include "chrome/browser/tabs/pinned_tab_codec.h"
61 #include "chrome/browser/tabs/tab_strip_model.h" 61 #include "chrome/browser/tabs/tab_strip_model.h"
62 #include "chrome/browser/ui/browser_list.h" 62 #include "chrome/browser/ui/browser_list.h"
63 #include "chrome/browser/ui/browser_navigator.h" 63 #include "chrome/browser/ui/browser_navigator.h"
64 #include "chrome/browser/ui/browser_window.h" 64 #include "chrome/browser/ui/browser_window.h"
65 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 65 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
66 #include "chrome/browser/ui/webui/sync_promo_ui.h" 66 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h"
67 #include "chrome/common/chrome_constants.h" 67 #include "chrome/common/chrome_constants.h"
68 #include "chrome/common/chrome_paths.h" 68 #include "chrome/common/chrome_paths.h"
69 #include "chrome/common/chrome_result_codes.h" 69 #include "chrome/common/chrome_result_codes.h"
70 #include "chrome/common/chrome_switches.h" 70 #include "chrome/common/chrome_switches.h"
71 #include "chrome/common/chrome_version_info.h" 71 #include "chrome/common/chrome_version_info.h"
72 #include "chrome/common/extensions/extension_constants.h" 72 #include "chrome/common/extensions/extension_constants.h"
73 #include "chrome/common/pref_names.h" 73 #include "chrome/common/pref_names.h"
74 #include "chrome/common/url_constants.h" 74 #include "chrome/common/url_constants.h"
75 #include "chrome/installer/util/browser_distribution.h" 75 #include "chrome/installer/util/browser_distribution.h"
76 #include "content/browser/child_process_security_policy.h" 76 #include "content/browser/child_process_security_policy.h"
(...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 1536
1537 Profile* profile = ProfileManager::GetLastUsedProfile(); 1537 Profile* profile = ProfileManager::GetLastUsedProfile();
1538 if (!profile) { 1538 if (!profile) {
1539 // We should only be able to get here if the profile already exists and 1539 // We should only be able to get here if the profile already exists and
1540 // has been created. 1540 // has been created.
1541 NOTREACHED(); 1541 NOTREACHED();
1542 return; 1542 return;
1543 } 1543 }
1544 ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, NULL, NULL); 1544 ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, NULL, NULL);
1545 } 1545 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698