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

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

Issue 8933003: [Sync Promo UI] Changing sync promo to honor brand codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing supposedly needless .gypi deps Created 9 years 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 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 1538
1539 Profile* profile = ProfileManager::GetLastUsedProfile(); 1539 Profile* profile = ProfileManager::GetLastUsedProfile();
1540 if (!profile) { 1540 if (!profile) {
1541 // We should only be able to get here if the profile already exists and 1541 // We should only be able to get here if the profile already exists and
1542 // has been created. 1542 // has been created.
1543 NOTREACHED(); 1543 NOTREACHED();
1544 return; 1544 return;
1545 } 1545 }
1546 ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, NULL, NULL); 1546 ProcessCmdLineImpl(cmd_line, cur_dir, false, profile, NULL, NULL);
1547 } 1547 }
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