Index: third_party/WebKit/Source/core/inspector/InspectorHelpers.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/AddStringToDigestor.cpp b/third_party/WebKit/Source/core/inspector/InspectorHelpers.cpp |
similarity index 74% |
rename from third_party/WebKit/Source/core/inspector/AddStringToDigestor.cpp |
rename to third_party/WebKit/Source/core/inspector/InspectorHelpers.cpp |
index 2c59eba0996ab6261872b1e3c44ad80b77f78606..10a081b3a825d534ba0ce6d42199b8a5455d43df 100644 |
--- a/third_party/WebKit/Source/core/inspector/AddStringToDigestor.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorHelpers.cpp |
@@ -2,8 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "core/inspector/AddStringToDigestor.h" |
+#include "core/inspector/InspectorHelpers.h" |
+#include "core/inspector/IdentifiersFactory.h" |
#include "platform/wtf/text/WTFString.h" |
#include "public/platform/WebCrypto.h" |
@@ -15,4 +16,9 @@ void AddStringToDigestor(WebCryptoDigestor* digestor, const String& string) { |
c_string.length()); |
} |
+KURL UrlWithoutFragment(KURL url) { |
+ url.RemoveFragmentIdentifier(); |
+ return url; |
+} |
+ |
} // namespace blink |