summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 16:48:42 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 16:48:42 +0000
commit440f063e99ca82c7471d5175f75df8027b00dc2f (patch)
tree31bdaf54607a1f28d5b15c490ad7d722863c5450 /chrome
parent918d1b2329080a932a73e571e4e648fd4d699216 (diff)
downloadchromium_src-440f063e99ca82c7471d5175f75df8027b00dc2f.zip
chromium_src-440f063e99ca82c7471d5175f75df8027b00dc2f.tar.gz
chromium_src-440f063e99ca82c7471d5175f75df8027b00dc2f.tar.bz2
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
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/extensions/extension_updater.cc2
1 files changed, 1 insertions, 1 deletions
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.