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

Side by Side Diff: Source/core/inspector/InspectorController.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 | « no previous file | Source/core/inspector/InspectorResourceAgent.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 void InspectorController::initializeDeferredAgents() 143 void InspectorController::initializeDeferredAgents()
144 { 144 {
145 if (m_deferredAgentsInitialized) 145 if (m_deferredAgentsInitialized)
146 return; 146 return;
147 m_deferredAgentsInitialized = true; 147 m_deferredAgentsInitialized = true;
148 148
149 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get() ; 149 InjectedScriptManager* injectedScriptManager = m_injectedScriptManager.get() ;
150 InspectorOverlay* overlay = m_overlay.get(); 150 InspectorOverlay* overlay = m_overlay.get();
151 151
152 OwnPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourceAgent::crea te(m_pageAgent, m_inspectorClient)); 152 OwnPtr<InspectorResourceAgent> resourceAgentPtr(InspectorResourceAgent::crea te(m_pageAgent));
153 InspectorResourceAgent* resourceAgent = resourceAgentPtr.get(); 153 InspectorResourceAgent* resourceAgent = resourceAgentPtr.get();
154 m_agents.append(resourceAgentPtr.release()); 154 m_agents.append(resourceAgentPtr.release());
155 155
156 m_agents.append(InspectorCSSAgent::create(m_domAgent, m_pageAgent, resourceA gent)); 156 m_agents.append(InspectorCSSAgent::create(m_domAgent, m_pageAgent, resourceA gent));
157 157
158 m_agents.append(InspectorDOMStorageAgent::create(m_pageAgent)); 158 m_agents.append(InspectorDOMStorageAgent::create(m_pageAgent));
159 159
160 m_agents.append(InspectorMemoryAgent::create()); 160 m_agents.append(InspectorMemoryAgent::create());
161 161
162 m_agents.append(InspectorApplicationCacheAgent::create(m_pageAgent)); 162 m_agents.append(InspectorApplicationCacheAgent::create(m_pageAgent));
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 m_layerTreeAgent->willAddPageOverlay(layer); 474 m_layerTreeAgent->willAddPageOverlay(layer);
475 } 475 }
476 476
477 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) 477 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer)
478 { 478 {
479 if (m_layerTreeAgent) 479 if (m_layerTreeAgent)
480 m_layerTreeAgent->didRemovePageOverlay(layer); 480 m_layerTreeAgent->didRemovePageOverlay(layer);
481 } 481 }
482 482
483 } // namespace WebCore 483 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorResourceAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698