OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/renderer/webcrypto_impl.h" | |
6 | |
7 namespace content { | |
8 | |
9 void WebCryptoImpl::digest( | |
10 const WebKit::WebCryptoAlgorithm& algorithm, | |
11 const unsigned char* data, | |
12 size_t data_size, | |
13 WebKit::WebCryptoResult result) { | |
14 // TODO(bryaneyler): Placeholder for OpenSSL implementation. Issue 267888. | |
15 (void)algorithm; | |
eroman
2013/08/22 23:15:12
What is the purpose of these (void)?
If you are g
Bryan Eyler
2013/08/23 01:22:11
This was more just preemptive to avoid a compiler
jamesr
2013/08/23 01:27:40
I don't think we generate such warnings. Just remo
| |
16 (void)data; | |
17 (void)data_size; | |
18 result.completeWithError(); | |
19 } | |
20 | |
21 } // namespace content | |
OLD | NEW |