From 440f063e99ca82c7471d5175f75df8027b00dc2f Mon Sep 17 00:00:00 2001
From: "asargent@chromium.org"
 <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 28 Jul 2009 16:48:42 +0000
Subject: Make the minimum extensions update frequency allowed on command line
 be 30 seconds.

This is as opposed to the value of 1 hour in release mode, which makes testing
difficult for people trying to test out autoupdate.

BUG=http://crbug.com/17867
TEST=Run with --enable-extensions --extension-update-frequency=30 will actually update an extension
that has updates after 30 seconds.

Review URL: http://codereview.chromium.org/159490

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21849 0039d316-1c4b-4281-b951-d872f2087c98
---
 chrome/browser/extensions/extension_updater.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'chrome/browser/extensions')

diff --git a/chrome/browser/extensions/extension_updater.cc b/chrome/browser/extensions/extension_updater.cc
index bb14931..4d5ef16f 100644
--- a/chrome/browser/extensions/extension_updater.cc
+++ b/chrome/browser/extensions/extension_updater.cc
@@ -28,7 +28,7 @@ const char* ExtensionUpdater::kExpectedGupdateXmlns =
     "http://www.google.com/update2/response";
 
 // For sanity checking on update frequency - enforced in release mode only.
-static const int kMinUpdateFrequencySeconds = 60 * 60;  // 1 hour
+static const int kMinUpdateFrequencySeconds = 30;
 static const int kMaxUpdateFrequencySeconds = 60 * 60 * 24 * 7;  // 7 days
 
 // A utility class to do file handling on the file I/O thread.
-- 
cgit v1.1