summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 04:20:18 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 04:20:18 +0000
commit20e01da6fcb6ae08cfc02e28a195599f5762d8d6 (patch)
treec77a9141d972ff22a648dc1d5591937612e6b00e /chrome
parentd7c310ebf1782712aa8617ce036ff713d8d596ee (diff)
downloadchromium_src-20e01da6fcb6ae08cfc02e28a195599f5762d8d6.zip
chromium_src-20e01da6fcb6ae08cfc02e28a195599f5762d8d6.tar.gz
chromium_src-20e01da6fcb6ae08cfc02e28a195599f5762d8d6.tar.bz2
Once again for a mysterious reason all sites are crashing in
the distributed test at this location: chrome_23e0000!v8::internal::Builtins::Setup+0x2bb Revert this change because it seems to be the culprit. Review URL: http://codereview.chromium.org/4206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/rlz/rlz.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc
index 211e840..b319626 100644
--- a/chrome/browser/rlz/rlz.cc
+++ b/chrome/browser/rlz/rlz.cc
@@ -152,11 +152,7 @@ class DelayedInitTask : public Task {
// For non-interactive tests we don't do the rest of the initialization.
if (::GetEnvironmentVariableW(env_vars::kHeadless, NULL, 0))
return;
-
- std::wstring omnibox_rlz;
- RLZTracker::GetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, &omnibox_rlz);
-
- if (first_run_ || omnibox_rlz.empty()) {
+ if (first_run_) {
// Record the installation of chrome.
RLZTracker::RecordProductEvent(RLZTracker::CHROME,
RLZTracker::CHROME_OMNIBOX,
@@ -208,9 +204,9 @@ bool RLZTracker::InitRlz(int directory_key) {
bool RLZTracker::InitRlzDelayed(int directory_key, bool first_run) {
// Schedule the delayed init items.
- const int kTwentySeconds = 20 * 1000;
+ const int kOneHundredSeconds = 100000;
MessageLoop::current()->PostDelayedTask(FROM_HERE,
- new DelayedInitTask(directory_key, first_run), kTwentySeconds);
+ new DelayedInitTask(directory_key, first_run), kOneHundredSeconds);
return true;
}