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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_data.h

Issue 23717031: Additional error logs to track webstore response failures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | chrome/browser/chromeos/app_mode/kiosk_app_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/app_mode/kiosk_app_data.h
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_data.h b/chrome/browser/chromeos/app_mode/kiosk_app_data.h
index 9214dac7c3344b718d62c84bed31822d3f1f1a6d..f9ab7771968cca36920fa448fe7f3941a13a5793 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_data.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_data.h
@@ -100,6 +100,13 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
virtual void OnWebstoreResponseParseFailure(
const std::string& error) OVERRIDE;
+ // Helper function for testing for the existence of |key| in
+ // |response|. Passes |key|'s content via |value| and returns
+ // true when |key| is present.
+ bool CheckResponseKeyValue(const base::DictionaryValue* response,
+ const char* key,
+ std::string* value);
+
KioskAppDataDelegate* delegate_; // not owned.
Status status_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698