diff options
author | robertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-03 15:57:53 +0000 |
---|---|---|
committer | robertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-03 15:57:53 +0000 |
commit | 175a7a296b06339ee76d59fd8a98507b59aa2187 (patch) | |
tree | 66bc8cd9dd376252e266b6e7621f6a439f04128a /chrome/browser/first_run.h | |
parent | 537a1e191f7666d12c486a4054abd661b6c1d3a1 (diff) | |
download | chromium_src-175a7a296b06339ee76d59fd8a98507b59aa2187.zip chromium_src-175a7a296b06339ee76d59fd8a98507b59aa2187.tar.gz chromium_src-175a7a296b06339ee76d59fd8a98507b59aa2187.tar.bz2 |
Fix multiple instances of first run dialog appearing when Chrome is started again while a first run dialog is visible. Also cause the original first run dialog to come to foreground.
BUG=http://crbug.com/10765
Review URL: http://codereview.chromium.org/99281
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run.h')
-rw-r--r-- | chrome/browser/first_run.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/first_run.h b/chrome/browser/first_run.h index bc73622..d0d6177 100644 --- a/chrome/browser/first_run.h +++ b/chrome/browser/first_run.h @@ -12,6 +12,7 @@ class FilePath; class Profile; +class ProcessSingleton; // This class contains the chrome first-run installation actions needed to // fully test the custom installer. It also contains the opposite actions to @@ -122,6 +123,8 @@ class FirstRunBrowserProcess : public BrowserProcessImpl { // Show the First Run UI to the user, allowing them to create shortcuts for // the app, import their bookmarks and other data from another browser into // |profile| and perhaps some other tasks. -void OpenFirstRunDialog(Profile* profile); +// |process_singleton| is used to lock the handling of CopyData messages +// while the First Run UI is visible. +void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton); #endif // CHROME_BROWSER_FIRST_RUN_H_ |