diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 12:15:14 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 12:15:14 +0000 |
commit | 003c74662c55f74c0cc761319d2f250242382e6d (patch) | |
tree | 4e34d054548926d1baa00e9d885f21b775937f47 /chrome/browser/rlz | |
parent | c1bbaa8facd0471060ff4c21b5628e38cfcb3a9c (diff) | |
download | chromium_src-003c74662c55f74c0cc761319d2f250242382e6d.zip chromium_src-003c74662c55f74c0cc761319d2f250242382e6d.tar.gz chromium_src-003c74662c55f74c0cc761319d2f250242382e6d.tar.bz2 |
Adding ScopedAllowIO to RLZ until it has been inspected.
TBR=rogerta
BUG=http://crbug.com/62328
TEST=None
Review URL: http://codereview.chromium.org/4680001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/rlz')
-rw-r--r-- | chrome/browser/rlz/rlz.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc index 2ba1ed0..1a22306 100644 --- a/chrome/browser/rlz/rlz.cc +++ b/chrome/browser/rlz/rlz.cc @@ -19,6 +19,7 @@ #include "base/string_util.h" #include "base/task.h" #include "base/thread.h" +#include "base/thread_restrictions.h" #include "base/utf_string_conversions.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profile.h" @@ -161,6 +162,9 @@ class DelayedInitTask : public Task { virtual ~DelayedInitTask() { } virtual void Run() { + // Needs to be evaluated. See http://crbug.com/62328/. + base::ThreadRestrictions::ScopedAllowIO allow_io; + // For non-interactive tests we don't do the rest of the initialization // because sometimes the very act of loading the dll causes QEMU to crash. if (::GetEnvironmentVariableW(ASCIIToWide(env_vars::kHeadless).c_str(), |