Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2149)

Unified Diff: chrome/browser/policy/cloud_policy_subsystem.cc

Issue 7054022: Use int64 instead of int for cloud policy infrastructure-delay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/policy/cloud_policy_subsystem.h ('k') | chrome/browser/policy/device_management_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud_policy_subsystem.cc
diff --git a/chrome/browser/policy/cloud_policy_subsystem.cc b/chrome/browser/policy/cloud_policy_subsystem.cc
index 1386b57b2be624fd724c47e5ff5ab0dab4acdd4d..1d35547218b98cd8b0c3488b28474b8c3831a902 100644
--- a/chrome/browser/policy/cloud_policy_subsystem.cc
+++ b/chrome/browser/policy/cloud_policy_subsystem.cc
@@ -25,7 +25,7 @@
namespace {
// Default refresh rate.
-const int kDefaultPolicyRefreshRateMs = 3 * 60 * 60 * 1000; // 3 hours.
+const int64 kDefaultPolicyRefreshRateMs = 3 * 60 * 60 * 1000; // 3 hours.
// Refresh rate sanity interval bounds.
const int64 kPolicyRefreshRateMinMs = 30 * 60 * 1000; // 30 minutes
@@ -88,7 +88,7 @@ void CloudPolicySubsystem::OnIPAddressChanged() {
void CloudPolicySubsystem::Initialize(
PrefService* prefs,
- int delay_milliseconds) {
+ int64 delay_milliseconds) {
DCHECK(!prefs_);
prefs_ = prefs;
@@ -178,7 +178,7 @@ void CloudPolicySubsystem::Observe(NotificationType type,
}
void CloudPolicySubsystem::ScheduleServiceInitialization(
- int delay_milliseconds) {
+ int64 delay_milliseconds) {
if (device_management_service_.get())
device_management_service_->ScheduleInitialization(delay_milliseconds);
}
« no previous file with comments | « chrome/browser/policy/cloud_policy_subsystem.h ('k') | chrome/browser/policy/device_management_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698