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

Side by Side Diff: third_party/WebKit/Source/platform/weborigin/Suborigin.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
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextRun.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 Suborigin_h 5 #ifndef Suborigin_h
6 #define Suborigin_h 6 #define Suborigin_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Noncopyable.h" 9 #include "wtf/Noncopyable.h"
10 #include "wtf/ThreadSafeRefCounted.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 PLATFORM_EXPORT Suborigin { 14 class PLATFORM_EXPORT Suborigin {
16 public: 15 public:
17 enum class SuboriginPolicyOptions : unsigned { 16 enum class SuboriginPolicyOptions : unsigned {
18 None = 0, 17 None = 0,
19 UnsafePostMessageSend = 1 << 0, 18 UnsafePostMessageSend = 1 << 0,
20 UnsafePostMessageReceive = 1 << 1 19 UnsafePostMessageReceive = 1 << 1
(...skipping 12 matching lines...) Expand all
33 unsigned optionsMask() const { return m_optionsMask; } 32 unsigned optionsMask() const { return m_optionsMask; }
34 33
35 private: 34 private:
36 String m_name; 35 String m_name;
37 unsigned m_optionsMask; 36 unsigned m_optionsMask;
38 }; 37 };
39 38
40 } // namespace blink 39 } // namespace blink
41 40
42 #endif // Suborigin_h 41 #endif // Suborigin_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextRun.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698