diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 22:12:23 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 22:12:23 +0000 |
commit | ba80aa757802e51920657a5416e50139f146c6b0 (patch) | |
tree | d5ec93d13c6ecf67eef112d1fd8e46df593d53cc /chrome/renderer | |
parent | dec7b17e7308a19743191c04f900927e6df32fda (diff) | |
download | chromium_src-ba80aa757802e51920657a5416e50139f146c6b0.zip chromium_src-ba80aa757802e51920657a5416e50139f146c6b0.tar.gz chromium_src-ba80aa757802e51920657a5416e50139f146c6b0.tar.bz2 |
Make Linux Breakpad initialization call to lsb_release asynchronous. Also wrap more
things in USE_LINUX_BREAKPAD while we're at it.
BUG=21782
TEST=Add time.sleep(10) to /usr/bin/lsb_release; starting Chrome should not take 10 seconds more.
Review URL: http://codereview.chromium.org/209042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/renderer_main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc index 6c7f01b..14a9d81 100644 --- a/chrome/renderer/renderer_main.cc +++ b/chrome/renderer/renderer_main.cc @@ -28,7 +28,7 @@ #include "grit/generated_resources.h" #include "net/base/net_module.h" -#if defined(OS_LINUX) +#if defined(USE_LINUX_BREAKPAD) #include "chrome/app/breakpad_linux.h" #endif @@ -83,7 +83,7 @@ int RendererMain(const MainFunctionParams& parameters) { const CommandLine& parsed_command_line = parameters.command_line_; base::ScopedNSAutoreleasePool* pool = parameters.autorelease_pool_; -#if defined(OS_LINUX) +#if defined(USE_LINUX_BREAKPAD) // Needs to be called after we have chrome::DIR_USER_DATA. InitCrashReporter(); #endif |