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

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: Rebased again 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/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,
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.h ('k') | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698