OLD | NEW |
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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 void WebDevToolsAgentImpl::flush() | 624 void WebDevToolsAgentImpl::flush() |
625 { | 625 { |
626 flushPendingFrontendMessages(); | 626 flushPendingFrontendMessages(); |
627 } | 627 } |
628 | 628 |
629 void WebDevToolsAgentImpl::updateInspectorStateCookie(const String& state) | 629 void WebDevToolsAgentImpl::updateInspectorStateCookie(const String& state) |
630 { | 630 { |
631 m_client->saveAgentRuntimeState(state); | 631 m_client->saveAgentRuntimeState(state); |
632 } | 632 } |
633 | 633 |
634 void WebDevToolsAgentImpl::clearBrowserCache() | |
635 { | |
636 m_client->clearBrowserCache(); | |
637 } | |
638 | |
639 void WebDevToolsAgentImpl::clearBrowserCookies() | |
640 { | |
641 m_client->clearBrowserCookies(); | |
642 } | |
643 | |
644 void WebDevToolsAgentImpl::setProcessId(long processId) | 634 void WebDevToolsAgentImpl::setProcessId(long processId) |
645 { | 635 { |
646 inspectorController()->setProcessId(processId); | 636 inspectorController()->setProcessId(processId); |
647 } | 637 } |
648 | 638 |
649 void WebDevToolsAgentImpl::setLayerTreeId(int layerTreeId) | 639 void WebDevToolsAgentImpl::setLayerTreeId(int layerTreeId) |
650 { | 640 { |
651 inspectorController()->setLayerTreeId(layerTreeId); | 641 inspectorController()->setLayerTreeId(layerTreeId); |
652 } | 642 } |
653 | 643 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) | 693 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_removeBreakpointCmd) |
704 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); | 694 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke
ndDispatcher::kDebugger_setBreakpointsActiveCmd); |
705 } | 695 } |
706 | 696 |
707 void WebDevToolsAgent::processPendingMessages() | 697 void WebDevToolsAgent::processPendingMessages() |
708 { | 698 { |
709 PageScriptDebugServer::shared().runPendingTasks(); | 699 PageScriptDebugServer::shared().runPendingTasks(); |
710 } | 700 } |
711 | 701 |
712 } // namespace blink | 702 } // namespace blink |
OLD | NEW |