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

Unified Diff: chrome/browser/chromeos/cros/cert_library.cc

Issue 7756025: Changed OAuth token+secret encryption to use supplemental user key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/chromeos/cros/cert_library.cc
===================================================================
--- chrome/browser/chromeos/cros/cert_library.cc (revision 99168)
+++ chrome/browser/chromeos/cros/cert_library.cc (working copy)
@@ -176,6 +176,16 @@
return server_ca_certs_;
}
+ virtual bool EncryptWithSupplementalUserKey(const std::string& raw_data,
+ std::string* encryped_data) const {
+ return crypto::EncryptWithSupplementalUserKey(raw_data, encryped_data);
+ }
+
+ virtual bool DecryptWithSupplementalUserKey(const std::string& encryped_data,
+ std::string* raw_data) const {
+ return crypto::DecryptWithSupplementalUserKey(encryped_data, raw_data);
+ }
+
// net::CertDatabase::Observer implementation. Observer added on UI thread.
virtual void OnCertTrustChanged(const net::X509Certificate* cert) OVERRIDE {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));

Powered by Google App Engine
This is Rietveld 408576698