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

Unified Diff: third_party/WebKit/Source/core/inspector/AddStringToDigestor.h

Issue 2800133003: Avoid duplicate functions: one AddStringToDigestor is enough (Closed)
Patch Set: Use utf-8 and get all data from the same object Created 3 years, 5 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: third_party/WebKit/Source/core/inspector/AddStringToDigestor.h
diff --git a/third_party/WebKit/Source/core/inspector/AddStringToDigestor.h b/third_party/WebKit/Source/core/inspector/AddStringToDigestor.h
new file mode 100644
index 0000000000000000000000000000000000000000..17e6668addaeea5d73138b48f2f7b468dc15c5bc
--- /dev/null
+++ b/third_party/WebKit/Source/core/inspector/AddStringToDigestor.h
@@ -0,0 +1,16 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef AddStringToDigestor_h
+#define AddStringToDigestor_h
+
+namespace WTF {
+class String;
+}
+
+namespace blink {
+class WebCryptoDigestor;
+void AddStringToDigestor(WebCryptoDigestor*, const WTF::String&);
+} // namespace blink
+#endif // AddStringToDigestor_h
alph 2017/07/11 21:28:18 An empty string above this line plz.
Daniel Bratell 2017/07/12 11:56:11 Done.

Powered by Google App Engine
This is Rietveld 408576698