| 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 89320832b6ef6704fe01c18ccbf4eaada9ca7493..74cf1e4d220f2a683ef5d9a55769e337e069bfbe 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -88,16 +88,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 DialogTypeToProtocol(ChromeClient::DialogType dialog_type) {
|
| switch (dialog_type) {
|
| case ChromeClient::kAlertDialog:
|
| @@ -194,6 +184,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(
|
| PassRefPtr<const SharedBuffer> buffer,
|
| const String& mime_type,
|
|
|