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

Side by Side Diff: third_party/WebKit/Source/platform/weborigin/Suborigin.cpp

Issue 2803603004: Rewrite references to "wtf/" to "platform/wtf/" in platform/weborigin. (Closed)
Patch Set: 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 // 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 "wtf/ASCIICType.h" 7 #include "platform/wtf/ASCIICType.h"
8 #include "wtf/text/ParsingUtilities.h" 8 #include "platform/wtf/text/ParsingUtilities.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 static unsigned emptyPolicy = 12 static unsigned emptyPolicy =
13 static_cast<unsigned>(Suborigin::SuboriginPolicyOptions::None); 13 static_cast<unsigned>(Suborigin::SuboriginPolicyOptions::None);
14 14
15 Suborigin::Suborigin() : m_optionsMask(emptyPolicy) {} 15 Suborigin::Suborigin() : m_optionsMask(emptyPolicy) {}
16 16
17 Suborigin::Suborigin(const Suborigin* other) 17 Suborigin::Suborigin(const Suborigin* other)
18 : m_name(other->m_name.isolatedCopy()), 18 : m_name(other->m_name.isolatedCopy()),
(...skipping 11 matching lines...) Expand all
30 bool Suborigin::policyContains(SuboriginPolicyOptions option) const { 30 bool Suborigin::policyContains(SuboriginPolicyOptions option) const {
31 return m_optionsMask & static_cast<unsigned>(option); 31 return m_optionsMask & static_cast<unsigned>(option);
32 } 32 }
33 33
34 void Suborigin::clear() { 34 void Suborigin::clear() {
35 m_name = String(); 35 m_name = String();
36 m_optionsMask = emptyPolicy; 36 m_optionsMask = emptyPolicy;
37 } 37 }
38 38
39 } // namespace blink 39 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698