| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/default_policy.h" | 5 #include "src/default_policy.h" |
| 6 | 6 |
| 7 #include <glog/logging.h> | 7 #include <glog/logging.h> |
| 8 | 8 |
| 9 namespace cashew { | 9 namespace cashew { |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 guint DefaultPolicy::GetUpdateTimerIdleSecs(const DataPlanList& plans) const { | 24 guint DefaultPolicy::GetUpdateTimerIdleSecs(const DataPlanList& plans) const { |
| 25 return kDefaultPolicyUpdateTimerIdleSecs; | 25 return kDefaultPolicyUpdateTimerIdleSecs; |
| 26 } | 26 } |
| 27 | 27 |
| 28 bool DefaultPolicy::ShouldEmitDataPlansUpdate(const DataPlanList& old_plans, | 28 bool DefaultPolicy::ShouldEmitDataPlansUpdate(const DataPlanList& old_plans, |
| 29 const DataPlanList& new_plans) const { | 29 const DataPlanList& new_plans) const { |
| 30 // unconditionally send an update | 30 // unconditionally send an update |
| 31 return true; | 31 return true; |
| 32 } | 32 } |
| 33 | 33 |
| 34 bool DefaultPolicy::UsageRequestsMustBeSentOTA() const { |
| 35 return true; |
| 36 } |
| 37 |
| 34 // private methods | 38 // private methods |
| 35 | 39 |
| 36 } // namespace cashew | 40 } // namespace cashew |
| OLD | NEW |