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

Side by Side Diff: chrome/browser/chrome_browser_main.cc

Issue 123693003: Revise user-data-dir switch handling; avoid crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 6 years, 10 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) 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/chrome_browser_main.h" 5 #include "chrome/browser/chrome_browser_main.h"
6 6
7 #if defined(TOOLKIT_GTK) 7 #if defined(TOOLKIT_GTK)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 #include "chrome/browser/shell_integration.h" 91 #include "chrome/browser/shell_integration.h"
92 #include "chrome/browser/three_d_api_observer.h" 92 #include "chrome/browser/three_d_api_observer.h"
93 #include "chrome/browser/translate/translate_service.h" 93 #include "chrome/browser/translate/translate_service.h"
94 #include "chrome/browser/ui/app_list/app_list_service.h" 94 #include "chrome/browser/ui/app_list/app_list_service.h"
95 #include "chrome/browser/ui/browser.h" 95 #include "chrome/browser/ui/browser.h"
96 #include "chrome/browser/ui/browser_finder.h" 96 #include "chrome/browser/ui/browser_finder.h"
97 #include "chrome/browser/ui/host_desktop.h" 97 #include "chrome/browser/ui/host_desktop.h"
98 #include "chrome/browser/ui/startup/default_browser_prompt.h" 98 #include "chrome/browser/ui/startup/default_browser_prompt.h"
99 #include "chrome/browser/ui/startup/startup_browser_creator.h" 99 #include "chrome/browser/ui/startup/startup_browser_creator.h"
100 #include "chrome/browser/ui/uma_browsing_activity_observer.h" 100 #include "chrome/browser/ui/uma_browsing_activity_observer.h"
101 #include "chrome/browser/ui/user_data_dir_dialog.h"
102 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" 101 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
103 #include "chrome/browser/user_data_dir_extractor.h" 102 #include "chrome/browser/user_data_dir_extractor.h"
104 #include "chrome/common/chrome_constants.h" 103 #include "chrome/common/chrome_constants.h"
105 #include "chrome/common/chrome_paths.h" 104 #include "chrome/common/chrome_paths.h"
106 #include "chrome/common/chrome_result_codes.h" 105 #include "chrome/common/chrome_result_codes.h"
107 #include "chrome/common/chrome_switches.h" 106 #include "chrome/common/chrome_switches.h"
108 #include "chrome/common/crash_keys.h" 107 #include "chrome/common/crash_keys.h"
109 #include "chrome/common/env_vars.h" 108 #include "chrome/common/env_vars.h"
110 #include "chrome/common/logging_chrome.h" 109 #include "chrome/common/logging_chrome.h"
111 #include "chrome/common/net/net_resource_provider.h" 110 #include "chrome/common/net/net_resource_provider.h"
(...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1697 chromeos::CrosSettings::Shutdown(); 1696 chromeos::CrosSettings::Shutdown();
1698 #endif 1697 #endif
1699 #endif 1698 #endif
1700 } 1699 }
1701 1700
1702 // Public members: 1701 // Public members:
1703 1702
1704 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { 1703 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) {
1705 chrome_extra_parts_.push_back(parts); 1704 chrome_extra_parts_.push_back(parts);
1706 } 1705 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698