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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebCredential.cpp

Issue 2796233002: Rewrite references to "wtf/" to "platform/wtf/" in platform/exported. (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 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 #include "public/platform/WebCredential.h" 5 #include "public/platform/WebCredential.h"
6 6
7 #include "platform/credentialmanager/PlatformCredential.h" 7 #include "platform/credentialmanager/PlatformCredential.h"
8 #include "platform/wtf/PtrUtil.h"
8 #include "public/platform/WebFederatedCredential.h" 9 #include "public/platform/WebFederatedCredential.h"
9 #include "public/platform/WebPasswordCredential.h" 10 #include "public/platform/WebPasswordCredential.h"
10 #include "wtf/PtrUtil.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 std::unique_ptr<WebCredential> WebCredential::create( 14 std::unique_ptr<WebCredential> WebCredential::create(
15 PlatformCredential* credential) { 15 PlatformCredential* credential) {
16 if (credential->isPassword()) { 16 if (credential->isPassword()) {
17 return WTF::makeUnique<WebPasswordCredential>(credential); 17 return WTF::makeUnique<WebPasswordCredential>(credential);
18 } 18 }
19 19
20 if (credential->isFederated()) { 20 if (credential->isFederated()) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 bool WebCredential::isPasswordCredential() const { 69 bool WebCredential::isPasswordCredential() const {
70 return m_platformCredential->isPassword(); 70 return m_platformCredential->isPassword();
71 } 71 }
72 72
73 bool WebCredential::isFederatedCredential() const { 73 bool WebCredential::isFederatedCredential() const {
74 return m_platformCredential->isFederated(); 74 return m_platformCredential->isFederated();
75 } 75 }
76 76
77 } // namespace blink 77 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698