diff options
author | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 20:33:55 +0000 |
---|---|---|
committer | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 20:33:55 +0000 |
commit | 9a47c43dbca36a37f2d237f644398e64ee9eaad0 (patch) | |
tree | e0ad9a572612c1775383aee39585e0e746063a7c /chrome/browser/first_run/first_run.h | |
parent | bb0830b9d30f3ff758717f5c2d5c4607248de2d2 (diff) | |
download | chromium_src-9a47c43dbca36a37f2d237f644398e64ee9eaad0.zip chromium_src-9a47c43dbca36a37f2d237f644398e64ee9eaad0.tar.gz chromium_src-9a47c43dbca36a37f2d237f644398e64ee9eaad0.tar.bz2 |
Extract locking behaviour from ProcessSingleton.
This refactoring continues the division of the behaviour of ProcessSingleton into two parts:
* The protocol for establishing a server process and communicating between the client and server.
* How the server processes command-line invocations.
Very small behavioural change:
* If an error occurs while parsing the command-line received via COPY_DATA, the modal dialog (if any) is no longer flashed and raised to foreground.
The motivation for this change is that I wish to introduce some more sophisticated behaviour when queuing messages during startup. See the follow-up CL (in-progress) at https://codereview.chromium.org/12674028/ .
BUG=170726,170734,225693
Review URL: https://chromiumcodereview.appspot.com/12096114
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run/first_run.h')
-rw-r--r-- | chrome/browser/first_run/first_run.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/first_run/first_run.h b/chrome/browser/first_run/first_run.h index 2bebc46..7221d6c 100644 --- a/chrome/browser/first_run/first_run.h +++ b/chrome/browser/first_run/first_run.h @@ -20,7 +20,6 @@ class CommandLine; class GURL; class PrefRegistrySyncable; class Profile; -class ProcessSingleton; namespace base { class FilePath; @@ -141,8 +140,7 @@ const CommandLine& GetExtraArgumentsForImportProcess(); void AutoImport(Profile* profile, bool homepage_defined, int import_items, - int dont_import_items, - ProcessSingleton* process_singleton); + int dont_import_items); // Does remaining first run tasks for |profile| and makes Chrome default browser // if |make_chrome_default|. This can pop the first run consent dialog on linux. |