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

Side by Side Diff: third_party/WebKit/Source/core/CoreInitializer.h

Issue 2818083002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of core/. (Closed)
Patch Set: Rebase. Created 3 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef CoreInitializer_h 31 #ifndef CoreInitializer_h
32 #define CoreInitializer_h 32 #define CoreInitializer_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "wtf/Allocator.h" 35 #include "platform/wtf/Allocator.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class CORE_EXPORT CoreInitializer { 39 class CORE_EXPORT CoreInitializer {
40 USING_FAST_MALLOC(CoreInitializer); 40 USING_FAST_MALLOC(CoreInitializer);
41 WTF_MAKE_NONCOPYABLE(CoreInitializer); 41 WTF_MAKE_NONCOPYABLE(CoreInitializer);
42 42
43 public: 43 public:
44 CoreInitializer() : is_initialized_(false) {} 44 CoreInitializer() : is_initialized_(false) {}
45 virtual ~CoreInitializer() {} 45 virtual ~CoreInitializer() {}
46 46
47 // Should be called by clients before trying to create Frames. 47 // Should be called by clients before trying to create Frames.
48 virtual void Initialize(); 48 virtual void Initialize();
49 49
50 protected: 50 protected:
51 bool IsInitialized() const { return is_initialized_; } 51 bool IsInitialized() const { return is_initialized_; }
52 52
53 private: 53 private:
54 void RegisterEventFactory(); 54 void RegisterEventFactory();
55 55
56 bool is_initialized_; 56 bool is_initialized_;
57 }; 57 };
58 58
59 } // namespace blink 59 } // namespace blink
60 60
61 #endif // CoreInitializer_h 61 #endif // CoreInitializer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/CoreExport.h ('k') | third_party/WebKit/Source/core/CoreInitializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698