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

Unified Diff: chrome/browser/protector/protector.h

Issue 8430027: Added histogram on successful check. Safe verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed signing, added counters Created 9 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
Index: chrome/browser/protector/protector.h
diff --git a/chrome/browser/protector/protector.h b/chrome/browser/protector/protector.h
index c508d73aa022d3a90a6baca5cdb3757e9332d155..9ef51427344b5932d864378276c45c39dbe52d23 100644
--- a/chrome/browser/protector/protector.h
+++ b/chrome/browser/protector/protector.h
@@ -68,6 +68,9 @@ class Protector : public SettingsChangeGlobalErrorDelegate {
// Signs string value with protector's key.
std::string SignSetting(const std::string& value);
+// Returns true if the signature is valid for the specified key.
+bool IsSettingValid(const std::string& value, const std::string& signature);
+
} // namespace protector
#endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_H_

Powered by Google App Engine
This is Rietveld 408576698