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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_h.template

Issue 2008183002: DevTools: generate frontend and backend interfaces under domains. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment addressed Created 4 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
Index: third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_h.template
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_h.template b/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_h.template
index 75f67043282b63b9ba4c3b014e94633803d37ec5..c649009cedf4a874f8bd01c3d89fb7171a5581fc 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_h.template
+++ b/third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_h.template
@@ -11,6 +11,7 @@
#include "platform/inspector_protocol/Array.h"
#include "platform/inspector_protocol/ErrorSupport.h"
#include "platform/inspector_protocol/Maybe.h"
+#include "platform/inspector_protocol/Object.h"
#include "platform/inspector_protocol/String16.h"
#include "platform/inspector_protocol/Values.h"
#include "platform/inspector_protocol/ValueConversions.h"
@@ -20,20 +21,6 @@
namespace blink {
namespace protocol {
-using ErrorString = String16;
-
-class PLATFORM_EXPORT Object {
-public:
- static std::unique_ptr<Object> parse(protocol::Value* value, ErrorSupport* errors);
- ~Object();
-
- std::unique_ptr<protocol::DictionaryValue> serialize() const;
- std::unique_ptr<Object> clone() const;
-private:
- Object(std::unique_ptr<protocol::DictionaryValue> object);
- std::unique_ptr<protocol::DictionaryValue> m_object;
-};
-
{% for domain in api.domains %}
// ------------- Forward declarations and typedefs.

Powered by Google App Engine
This is Rietveld 408576698