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

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

Issue 251183005: [4/4] Process clearBrowserCahce/cookies commands in browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.h ('k') | public/web/WebDevToolsAgentClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/web/WebDevToolsAgentImpl.h ('k') | public/web/WebDevToolsAgentClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698