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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/test_interface_3.h

Issue 2688933003: [Web Agents API]: Start fleshing out generated code. (Closed)
Patch Set: Rebased. Created 3 years, 10 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/bindings/tests/results/core/test_interface_3.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/test_interface_3.h b/third_party/WebKit/Source/bindings/tests/results/core/test_interface_3.h
index 8091beba59e3c781427528d0d4eb721eb0c8732b..3855554424cb08e921f70811230b074f97f167a4 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/test_interface_3.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/test_interface_3.h
@@ -10,17 +10,33 @@
// clang-format off
-// TODO(dglazkov): Use chromium-style path.
-#ifndef TEST_INTERFACE_3_H
-#define TEST_INTERFACE_3_H
+#ifndef WEB_API_TEST_INTERFACE_3_H
+#define WEB_API_TEST_INTERFACE_3_H
+
+#include "platform/heap/Handle.h"
namespace blink {
-namespace api {
+class TestInterface3;
+}
+
+namespace web {
+
+class TestInterface3 : public blink::GarbageCollected<TestInterface3> {
+ public:
+ virtual ~TestInterface3() = default;
+
+ static TestInterface3* Create(blink::TestInterface3*);
+
+ DECLARE_TRACE();
+
+ protected:
+ explicit TestInterface3(blink::TestInterface3* test_interface_3);
+ blink::TestInterface3* test_interface_3() const;
-class TestInterface3 {
+ private:
+ blink::Member<blink::TestInterface3> test_interface_3_;
};
-} // namespace api
-} // namespace blink
+} // namespace web
-#endif // TEST_INTERFACE_3_H
+#endif // WEB_API_TEST_INTERFACE_3_H

Powered by Google App Engine
This is Rietveld 408576698