OLD | NEW |
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 #include "platform/weborigin/Suborigin.h" | 5 #include "platform/weborigin/Suborigin.h" |
6 | 6 |
7 #include "platform/ParsingUtilities.h" | |
8 #include "wtf/ASCIICType.h" | 7 #include "wtf/ASCIICType.h" |
| 8 #include "wtf/text/ParsingUtilities.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 static unsigned emptyPolicy = static_cast<unsigned>(Suborigin::SuboriginPolicyOp
tions::None); | 12 static unsigned emptyPolicy = static_cast<unsigned>(Suborigin::SuboriginPolicyOp
tions::None); |
13 | 13 |
14 Suborigin::Suborigin() | 14 Suborigin::Suborigin() |
15 : m_optionsMask(emptyPolicy) | 15 : m_optionsMask(emptyPolicy) |
16 { | 16 { |
17 } | 17 } |
18 | 18 |
(...skipping 19 matching lines...) Expand all Loading... |
38 return m_optionsMask & static_cast<unsigned>(option); | 38 return m_optionsMask & static_cast<unsigned>(option); |
39 } | 39 } |
40 | 40 |
41 void Suborigin::clear() | 41 void Suborigin::clear() |
42 { | 42 { |
43 m_name = String(); | 43 m_name = String(); |
44 m_optionsMask = emptyPolicy; | 44 m_optionsMask = emptyPolicy; |
45 } | 45 } |
46 | 46 |
47 } // namespace blink | 47 } // namespace blink |
OLD | NEW |