Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
|
alph
2017/04/10 08:09:55
missing a line of copyright
Daniel Bratell
2017/04/10 08:28:29
Done.
| |
| 3 | |
| 4 #include "core/inspector/addStringToDigestor.h" | |
| 5 | |
| 6 #include "platform/wtf/text/WTFString.h" | |
| 7 #include "public/platform/WebCrypto.h" | |
| 8 | |
| 9 namespace blink { | |
| 10 | |
| 11 void addStringToDigestor(WebCryptoDigestor* digestor, const String& string) { | |
| 12 digestor->consume( | |
| 13 reinterpret_cast<const unsigned char*>(string.ascii().data()), | |
| 14 string.length()); | |
| 15 } | |
| 16 } | |
| OLD | NEW |