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

Unified Diff: src/default_policy.cc

Issue 3764012: cashew: support "usage requests allowed OTA only" policy (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git
Patch Set: jglasgow review comments Created 10 years, 2 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 | « src/default_policy.h ('k') | src/device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/default_policy.cc
diff --git a/src/default_policy.cc b/src/default_policy.cc
index 90f754f17b7c0f0a705f4880291e8786272c64ae..583207c5feda6a158a358589683e999da185fcb9 100644
--- a/src/default_policy.cc
+++ b/src/default_policy.cc
@@ -31,6 +31,10 @@ bool DefaultPolicy::ShouldEmitDataPlansUpdate(const DataPlanList& old_plans,
return true;
}
+bool DefaultPolicy::UsageRequestsMustBeSentOTA() const {
+ return true;
+}
+
// private methods
} // namespace cashew
« no previous file with comments | « src/default_policy.h ('k') | src/device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698