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

Unified Diff: src/policy.h

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/device.cc ('k') | src/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/policy.h
diff --git a/src/policy.h b/src/policy.h
index 76031094f0ef0ffd64323db760ffeb7afe825690..3b2c1799d4df7cb7f479227fd0590187eaf4d8d1 100644
--- a/src/policy.h
+++ b/src/policy.h
@@ -31,6 +31,9 @@ class Policy {
virtual bool ShouldEmitDataPlansUpdate(const DataPlanList& old_plans,
const DataPlanList& new_plans) const = 0;
+ // must usage API requests for a cellular service be sent over the air?
+ virtual bool UsageRequestsMustBeSentOTA() const = 0;
+
// factory
// return appropriate concrete impl for |carrier|
// caller owns returned Policy and is responsible for deleting it
« no previous file with comments | « src/device.cc ('k') | src/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698