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

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

Issue 2800213002: Avoid duplicate functions/code in core/inspector.
Patch Set: A third way 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/InspectorHelpers.h
diff --git a/third_party/WebKit/Source/core/inspector/AddStringToDigestor.h b/third_party/WebKit/Source/core/inspector/InspectorHelpers.h
similarity index 67%
rename from third_party/WebKit/Source/core/inspector/AddStringToDigestor.h
rename to third_party/WebKit/Source/core/inspector/InspectorHelpers.h
index 2981c385098593a2064f399f45d64128cbd5da8a..429bef03d885460022677643d9b721decef974a4 100644
--- a/third_party/WebKit/Source/core/inspector/AddStringToDigestor.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorHelpers.h
@@ -2,8 +2,10 @@
// 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
+#ifndef InspectorHelpers_h
+#define InspectorHelpers_h
+
+#include "platform/weborigin/KURL.h"
namespace WTF {
class String;
@@ -12,6 +14,8 @@ class String;
namespace blink {
class WebCryptoDigestor;
void AddStringToDigestor(WebCryptoDigestor*, const WTF::String&);
+
+KURL UrlWithoutFragment(const KURL&);
} // namespace blink
-#endif // AddStringToDigestor_h
+#endif // InspectorHelpers_h

Powered by Google App Engine
This is Rietveld 408576698