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

Unified Diff: src/service.h

Issue 3797006: cashew: support additional usage API error result strings (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git
Patch Set: 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 | « no previous file | src/service.cc » ('j') | src/service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/service.h
diff --git a/src/service.h b/src/service.h
index a63434e35aa50c508f1982cf1046d4ac57fd2a81..c1d78576939f7c53163ec055bf6f4bdfa97749d0 100644
--- a/src/service.h
+++ b/src/service.h
@@ -190,6 +190,12 @@ class Service : public org::chromium::flimflam::Service_proxy,
// NOTE: this does not delete usage url (it's considered service state)
void DeleteCarrierState();
+ // does |status| contain a valid usage API status result string?
+ bool IsValidCrosUsageStatus(const std::string& status) const;
+
+ // usage API request returned an error result
+ void OnCrosUsageErrorResult(const std::string& status);
+
DISALLOW_COPY_AND_ASSIGN(Service);
};
« no previous file with comments | « no previous file | src/service.cc » ('j') | src/service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698