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

Side by Side Diff: Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp

Issue 7563005: Merge 91858 - Web Inspector: Disable cache option should only clear memory cache, not disable it. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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/WebKit/chromium/src/WebDevToolsAgentImpl.h ('k') | no next file » | 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 void WebDevToolsAgentImpl::clearBrowserCache() 310 void WebDevToolsAgentImpl::clearBrowserCache()
311 { 311 {
312 m_client->clearBrowserCache(); 312 m_client->clearBrowserCache();
313 } 313 }
314 314
315 void WebDevToolsAgentImpl::clearBrowserCookies() 315 void WebDevToolsAgentImpl::clearBrowserCookies()
316 { 316 {
317 m_client->clearBrowserCookies(); 317 m_client->clearBrowserCookies();
318 } 318 }
319 319
320 void WebDevToolsAgentImpl::setCacheDisabled(bool cacheDisabled)
321 {
322 memoryCache()->setDisabled(cacheDisabled);
323 }
324
325 void WebDevToolsAgentImpl::setProcessId(long processId) 320 void WebDevToolsAgentImpl::setProcessId(long processId)
326 { 321 {
327 inspectorController()->setProcessId(processId); 322 inspectorController()->setProcessId(processId);
328 } 323 }
329 324
330 void WebDevToolsAgentImpl::evaluateInWebInspector(long callId, const WebString& script) 325 void WebDevToolsAgentImpl::evaluateInWebInspector(long callId, const WebString& script)
331 { 326 {
332 InspectorController* ic = inspectorController(); 327 InspectorController* ic = inspectorController();
333 ic->evaluateForTestInFrontend(callId, script); 328 ic->evaluateForTestInFrontend(callId, script);
334 } 329 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 { 374 {
380 PageScriptDebugServer::shared().runPendingTasks(); 375 PageScriptDebugServer::shared().runPendingTasks();
381 } 376 }
382 377
383 void WebDevToolsAgent::setMessageLoopDispatchHandler(MessageLoopDispatchHandler handler) 378 void WebDevToolsAgent::setMessageLoopDispatchHandler(MessageLoopDispatchHandler handler)
384 { 379 {
385 DebuggerAgentManager::setMessageLoopDispatchHandler(handler); 380 DebuggerAgentManager::setMessageLoopDispatchHandler(handler);
386 } 381 }
387 382
388 } // namespace WebKit 383 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebDevToolsAgentImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698