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

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

Issue 2800213002: Avoid duplicate functions/code in core/inspector.
Patch Set: Merge two UrlWithoutFragment() and two FrameId() functions. 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/InspectorBaseAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
index 6842312fa565f15c2f4f666e149887a83e5579cf..9817916e540eb910ddb16628c03db4f906e152d1 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
@@ -35,6 +35,7 @@
#include "core/CoreProbeSink.h"
#include "core/inspector/protocol/Protocol.h"
#include "platform/heap/Handle.h"
+#include "platform/weborigin/KURL.h"
#include "platform/wtf/Forward.h"
#include "platform/wtf/text/WTFString.h"
@@ -109,6 +110,8 @@ class InspectorBaseAgent : public InspectorAgent,
std::unique_ptr<typename DomainMetainfo::FrontendClass> frontend_;
};
+KURL UrlWithoutFragment(const KURL&);
pfeldman 2017/07/05 18:24:54 This really is not a great place for this method.
+
} // namespace blink
#endif // !defined(InspectorBaseAgent_h)

Powered by Google App Engine
This is Rietveld 408576698