diff options
author | hshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 06:44:44 +0000 |
---|---|---|
committer | hshi@chromium.org <hshi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 06:44:44 +0000 |
commit | 16951ead98ddef7943bf162c7b33512b9e947d22 (patch) | |
tree | d0ae9980bbfe0d727c17029e54e3fe64c62d9d7c /chrome/browser/browser_process_impl.h | |
parent | 1761fcc08c01fec1a792befa3da8b98ca04743df (diff) | |
download | chromium_src-16951ead98ddef7943bf162c7b33512b9e947d22.zip chromium_src-16951ead98ddef7943bf162c7b33512b9e947d22.tar.gz chromium_src-16951ead98ddef7943bf162c7b33512b9e947d22.tar.bz2 |
Show user data dialog earlier on Windows.
On Windows if the user data directory does not exist, we must show the user
data dir picker dialog prior to creating the local state to avoid a CHECK
failure. After obtaining the new dir we will restart chrome with the switch
--user-data-dir appended to the command line.
BUG=196301
TEST=CQ
Review URL: https://chromiumcodereview.appspot.com/12662033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.h')
-rw-r--r-- | chrome/browser/browser_process_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h index 0213a72..0d2199f 100644 --- a/chrome/browser/browser_process_impl.h +++ b/chrome/browser/browser_process_impl.h @@ -137,6 +137,7 @@ class BrowserProcessImpl : public BrowserProcess, media_file_system_registry() OVERRIDE; virtual void PlatformSpecificCommandLineProcessing( const CommandLine& command_line) OVERRIDE; + virtual bool created_local_state() const OVERRIDE; static void RegisterPrefs(PrefRegistrySimple* registry); |