diff options
author | eroman@chromium.org <eroman@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-12-05 08:38:50 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-12-05 08:38:50 +0000 |
commit | 55eb124c26ef6ad91e6dc3c7ffe880084ab40b72 (patch) | |
tree | b55111d4345a2250bd09499ab43ae423f738a2ff /third_party/WebKit/public | |
parent | afd7434f766c58160dfe85387f3d1061be7fcdd2 (diff) | |
download | chromium_src-55eb124c26ef6ad91e6dc3c7ffe880084ab40b72.zip chromium_src-55eb124c26ef6ad91e6dc3c7ffe880084ab40b72.tar.gz chromium_src-55eb124c26ef6ad91e6dc3c7ffe880084ab40b72.tar.bz2 |
[webcrypto] Mark some methods in public API as const.
BUG=245025
Review URL: https://codereview.chromium.org/105453002
git-svn-id: svn://svn.chromium.org/blink/trunk@163233 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/public')
-rw-r--r-- | third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h b/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h index 87cb0cc..a6d6105 100644 --- a/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h +++ b/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h @@ -195,7 +195,7 @@ public: const WebVector<unsigned char>& iv() const { return m_iv; } bool hasAdditionalData() const { return m_hasAdditionalData; } - bool getAdditionalData(const WebVector<unsigned char>*& additionalData) + bool getAdditionalData(const WebVector<unsigned char>*& additionalData) const { if (!m_hasAdditionalData) return false; @@ -204,7 +204,7 @@ public: } bool hasTagLength() const { return m_hasTagLength; } - bool getTagLength(unsigned& tagLength) + bool getTagLength(unsigned& tagLength) const { if (!m_hasTagLength) return false; @@ -234,7 +234,7 @@ public: const WebCryptoAlgorithm& hash() const { return m_hash; } bool hasLabel() const { return m_hasLabel; } - bool getLabel(const WebVector<unsigned char>*& label) + bool getLabel(const WebVector<unsigned char>*& label) const { if (!m_hasLabel) return false; |