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

Unified Diff: third_party/WebKit/Source/platform/JSONValues.h

Issue 1621923002: [DevTools] Remove InspectorState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 11 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
Index: third_party/WebKit/Source/platform/JSONValues.h
diff --git a/third_party/WebKit/Source/platform/JSONValues.h b/third_party/WebKit/Source/platform/JSONValues.h
index 44e42c1bbceaddcf1a6e4c3d290216063f00ff41..4a06be7eae0b8a7c7f3cf16f5cc41a6f0a50a1ab 100644
--- a/third_party/WebKit/Source/platform/JSONValues.h
+++ b/third_party/WebKit/Source/platform/JSONValues.h
@@ -210,6 +210,8 @@ protected:
PassRefPtr<JSONArray> getArray(const String& name) const;
PassRefPtr<JSONValue> get(const String& name) const;
+ bool booleanProperty(const String& name, bool defaultValue) const;
+
void remove(const String& name);
void prettyWriteJSONInternal(StringBuilder* output, int depth) const override;
@@ -251,6 +253,8 @@ public:
using JSONObjectBase::getArray;
using JSONObjectBase::get;
+ using JSONObjectBase::booleanProperty;
+
using JSONObjectBase::remove;
using JSONObjectBase::begin;

Powered by Google App Engine
This is Rietveld 408576698