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

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
« no previous file with comments | « no previous file | chrome/renderer/extensions/enterprise_platform_keys_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6b7967f769185449c60e17ca8cfef7a861c06a42..c4123b2186c0dcaedc8b0926570f0efff959030d 100644
--- a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
@@ -142,7 +142,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.
@@ -168,8 +168,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.
@@ -254,7 +254,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,
« no previous file with comments | « no previous file | chrome/renderer/extensions/enterprise_platform_keys_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698