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

Side by Side Diff: third_party/WebKit/Source/core/testing/PrivateScriptTest.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PrivateScriptTest_h 5 #ifndef PrivateScriptTest_h
6 #define PrivateScriptTest_h 6 #define PrivateScriptTest_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/RefCounted.h"
11 #include "wtf/text/WTFString.h" 10 #include "wtf/text/WTFString.h"
12 11
13 namespace blink { 12 namespace blink {
14 13
15 class Document; 14 class Document;
16 15
17 class PrivateScriptTest final : public GarbageCollectedFinalized<PrivateScriptTe st>, public ScriptWrappable { 16 class PrivateScriptTest final : public GarbageCollectedFinalized<PrivateScriptTe st>, public ScriptWrappable {
18 DEFINE_WRAPPERTYPEINFO(); 17 DEFINE_WRAPPERTYPEINFO();
19 public: 18 public:
20 static PrivateScriptTest* create(Document* document) 19 static PrivateScriptTest* create(Document* document)
21 { 20 {
22 return new PrivateScriptTest(document); 21 return new PrivateScriptTest(document);
23 } 22 }
24 23
25 int addIntegerImplementedInCPPForPrivateScriptOnly(int value1, int value2); 24 int addIntegerImplementedInCPPForPrivateScriptOnly(int value1, int value2);
26 String stringAttributeImplementedInCPPForPrivateScriptOnly(); 25 String stringAttributeImplementedInCPPForPrivateScriptOnly();
27 void setStringAttributeImplementedInCPPForPrivateScriptOnly(String); 26 void setStringAttributeImplementedInCPPForPrivateScriptOnly(String);
28 27
29 DEFINE_INLINE_TRACE() { } 28 DEFINE_INLINE_TRACE() { }
30 29
31 private: 30 private:
32 explicit PrivateScriptTest(Document*); 31 explicit PrivateScriptTest(Document*);
33 32
34 String m_stringAttributeImplementedInCPPForPrivateSriptOnly; 33 String m_stringAttributeImplementedInCPPForPrivateSriptOnly;
35 }; 34 };
36 35
37 } // namespace blink 36 } // namespace blink
38 37
39 #endif // PrivateScriptTest_h 38 #endif // PrivateScriptTest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698