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

Side by Side Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp

Issue 2611183007: PlzNavigate: Fix for the http/tests/inspector/resource-har-conversion.html layout test failure. (Closed)
Patch Set: Fix line endings Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 2 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 } 589 }
590 590
591 WebString WebDevToolsAgentImpl::evaluateInWebInspectorOverlay( 591 WebString WebDevToolsAgentImpl::evaluateInWebInspectorOverlay(
592 const WebString& script) { 592 const WebString& script) {
593 if (!m_overlay) 593 if (!m_overlay)
594 return WebString(); 594 return WebString();
595 595
596 return m_overlay->evaluateInOverlayForTest(script); 596 return m_overlay->evaluateInOverlayForTest(script);
597 } 597 }
598 598
599 bool WebDevToolsAgentImpl::cacheDisabled() {
600 if (!m_networkAgent)
601 return false;
602 return m_networkAgent->cacheDisabled();
603 }
604
599 void WebDevToolsAgentImpl::flushProtocolNotifications() { 605 void WebDevToolsAgentImpl::flushProtocolNotifications() {
600 if (m_session) 606 if (m_session)
601 m_session->flushProtocolNotifications(); 607 m_session->flushProtocolNotifications();
602 } 608 }
603 609
604 void WebDevToolsAgentImpl::willProcessTask() { 610 void WebDevToolsAgentImpl::willProcessTask() {
605 if (!attached()) 611 if (!attached())
606 return; 612 return;
607 ThreadDebugger::idleFinished(V8PerIsolateData::mainThreadIsolate()); 613 ThreadDebugger::idleFinished(V8PerIsolateData::mainThreadIsolate());
608 } 614 }
(...skipping 29 matching lines...) Expand all
638 } 644 }
639 645
640 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) { 646 bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method) {
641 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" || 647 return method == "Debugger.pause" || method == "Debugger.setBreakpoint" ||
642 method == "Debugger.setBreakpointByUrl" || 648 method == "Debugger.setBreakpointByUrl" ||
643 method == "Debugger.removeBreakpoint" || 649 method == "Debugger.removeBreakpoint" ||
644 method == "Debugger.setBreakpointsActive"; 650 method == "Debugger.setBreakpointsActive";
645 } 651 }
646 652
647 } // namespace blink 653 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | third_party/WebKit/public/web/WebDevToolsAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698