| Index: chrome/browser/chromeos/policy/system_log_uploader.cc
|
| diff --git a/chrome/browser/chromeos/policy/system_log_uploader.cc b/chrome/browser/chromeos/policy/system_log_uploader.cc
|
| index 4576d561ffc8531ffb00f883ded180a35e69a8d5..023ce1ce5b73d8503f6e3591c6915c23035d0f24 100644
|
| --- a/chrome/browser/chromeos/policy/system_log_uploader.cc
|
| +++ b/chrome/browser/chromeos/policy/system_log_uploader.cc
|
| @@ -17,13 +17,6 @@
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| namespace {
|
| -// Determines the time between log uploads.
|
| -const int64 kDefaultUploadDelayMs = 12 * 60 * 60 * 1000; // 12 hours
|
| -
|
| -// Determines the time, measured from the time of last failed upload,
|
| -// after which the log upload is retried.
|
| -const int64 kErrorUploadDelayMs = 120 * 1000; // 120 seconds
|
| -
|
| // The maximum number of consequent retries.
|
| const int kMaxNumRetries = 1;
|
|
|
| @@ -143,6 +136,14 @@ scoped_ptr<policy::UploadJob> SystemLogDelegate::CreateUploadJob(
|
|
|
| namespace policy {
|
|
|
| +// Determines the time between log uploads.
|
| +const int64 SystemLogUploader::kDefaultUploadDelayMs =
|
| + 12 * 60 * 60 * 1000; // 12 hours
|
| +
|
| +// Determines the time, measured from the time of last failed upload,
|
| +// after which the log upload is retried.
|
| +const int64 SystemLogUploader::kErrorUploadDelayMs = 120 * 1000; // 120 seconds
|
| +
|
| SystemLogUploader::SystemLogUploader(
|
| const scoped_refptr<base::SequencedTaskRunner>& task_runner)
|
| : retry_count_(0),
|
|
|