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

Unified Diff: Source/core/inspector/InspectorDOMStorageAgent.cpp

Issue 304113003: DevTools: Reenable the DOM storage agent on reattach. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorDOMStorageAgent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDOMStorageAgent.cpp
diff --git a/Source/core/inspector/InspectorDOMStorageAgent.cpp b/Source/core/inspector/InspectorDOMStorageAgent.cpp
index 1ab7d2c61b1f3f17df79474c63ccce72ddc0a300..9c607be1441d2e62be1d555b9e92631e8b4f20b9 100644
--- a/Source/core/inspector/InspectorDOMStorageAgent.cpp
+++ b/Source/core/inspector/InspectorDOMStorageAgent.cpp
@@ -89,6 +89,12 @@ void InspectorDOMStorageAgent::clearFrontend()
disable(0);
}
+void InspectorDOMStorageAgent::restore()
+{
+ if (isEnabled())
+ enable(0);
+}
+
bool InspectorDOMStorageAgent::isEnabled() const
{
return m_state->getBoolean(DOMStorageAgentState::domStorageAgentEnabled);
« no previous file with comments | « Source/core/inspector/InspectorDOMStorageAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698