| Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| index d10cabdde8678ccdf735294bf1a2ea36f698d836..fc936d937a778341c01624136e72a2e3371c7993 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -90,16 +90,6 @@ static const char kAutoAttachToCreatedPages[] = "autoAttachToCreatedPages";
|
|
|
| namespace {
|
|
|
| -KURL UrlWithoutFragment(const KURL& url) {
|
| - KURL result = url;
|
| - result.RemoveFragmentIdentifier();
|
| - return result;
|
| -}
|
| -
|
| -String FrameId(LocalFrame* frame) {
|
| - return frame ? IdentifiersFactory::FrameId(frame) : "";
|
| -}
|
| -
|
| String ScheduledNavigationReasonToProtocol(ScheduledNavigation::Reason reason) {
|
| using ReasonEnum =
|
| protocol::Page::FrameScheduledNavigationNotification::ReasonEnum;
|
| @@ -242,6 +232,18 @@ static void MaybeEncodeTextContent(const String& text_content,
|
| }
|
|
|
| // static
|
| +KURL InspectorPageAgent::UrlWithoutFragment(const KURL& url) {
|
| + KURL result = url;
|
| + result.RemoveFragmentIdentifier();
|
| + return result;
|
| +}
|
| +
|
| +// static
|
| +String InspectorPageAgent::FrameId(LocalFrame* frame) {
|
| + return frame ? IdentifiersFactory::FrameId(frame) : "";
|
| +}
|
| +
|
| +// static
|
| bool InspectorPageAgent::SharedBufferContent(RefPtr<const SharedBuffer> buffer,
|
| const String& mime_type,
|
| const String& text_encoding_name,
|
|
|