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

Unified Diff: chrome/browser/chromeos/platform_keys/platform_keys_nss.cc

Issue 306433003: enterprise.platformKeys: Support the publicExponent parameter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 6 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/platform_keys/platform_keys_nss.cc
diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
index 5493e181674be925363dc23b78c39d098cc63d9a..9d89797c8c2facd743752100863dbad50a2394ec 100644
--- a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
@@ -141,7 +141,7 @@ class GenerateRSAKeyState : public NSSOperationState {
from, base::Bind(callback_, public_key_spki_der, error_message));
}
- unsigned int modulus_length_;
+ const unsigned int modulus_length_;
private:
// Must be called on origin thread, use CallBack() therefore.
@@ -167,8 +167,8 @@ class SignState : public NSSOperationState {
from, base::Bind(callback_, signature, error_message));
}
- std::string public_key_;
- std::string data_;
+ const std::string public_key_;
+ const std::string data_;
private:
// Must be called on origin thread, use CallBack() therefore.
@@ -253,7 +253,8 @@ NSSOperationState::NSSOperationState()
GenerateRSAKeyState::GenerateRSAKeyState(unsigned int modulus_length,
const GenerateKeyCallback& callback)
- : modulus_length_(modulus_length), callback_(callback) {
+ : modulus_length_(modulus_length),
+ callback_(callback) {
}
SignState::SignState(const std::string& public_key,

Powered by Google App Engine
This is Rietveld 408576698