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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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/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,
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.h ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698