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

Side by Side Diff: third_party/WebKit/public/platform/WebCredential.h

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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 #ifndef WebCredential_h 5 #ifndef WebCredential_h
6 #define WebCredential_h 6 #define WebCredential_h
7 7
8 #include "public/platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebPrivatePtr.h" 9 #include "public/platform/WebPrivatePtr.h"
10 #include "public/platform/WebString.h" 10 #include "public/platform/WebString.h"
(...skipping 19 matching lines...) Expand all
30 30
31 BLINK_PLATFORM_EXPORT bool isPasswordCredential() const; 31 BLINK_PLATFORM_EXPORT bool isPasswordCredential() const;
32 BLINK_PLATFORM_EXPORT bool isFederatedCredential() const; 32 BLINK_PLATFORM_EXPORT bool isFederatedCredential() const;
33 33
34 // TODO(mkwst): Drop this once Chromium is updated. https://crbug.com/494880 34 // TODO(mkwst): Drop this once Chromium is updated. https://crbug.com/494880
35 BLINK_PLATFORM_EXPORT bool isLocalCredential() const { return isPasswordCred ential(); } 35 BLINK_PLATFORM_EXPORT bool isLocalCredential() const { return isPasswordCred ential(); }
36 36
37 #if INSIDE_BLINK 37 #if INSIDE_BLINK
38 BLINK_PLATFORM_EXPORT static WebCredential create(PlatformCredential*); 38 BLINK_PLATFORM_EXPORT static WebCredential create(PlatformCredential*);
39 BLINK_PLATFORM_EXPORT WebCredential& operator=(PlatformCredential*); 39 BLINK_PLATFORM_EXPORT WebCredential& operator=(PlatformCredential*);
40 BLINK_PLATFORM_EXPORT PlatformCredential* platformCredential() const { retur n m_platformCredential.get(); } 40 BLINK_PLATFORM_EXPORT PlatformCredential* getPlatformCredential() const { re turn m_platformCredential.get(); }
41 #endif 41 #endif
42 42
43 protected: 43 protected:
44 #if INSIDE_BLINK 44 #if INSIDE_BLINK
45 BLINK_PLATFORM_EXPORT WebCredential(PlatformCredential*); 45 BLINK_PLATFORM_EXPORT WebCredential(PlatformCredential*);
46 #endif 46 #endif
47 47
48 WebPrivatePtr<PlatformCredential> m_platformCredential; 48 WebPrivatePtr<PlatformCredential> m_platformCredential;
49 }; 49 };
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif // WebCredential_h 53 #endif // WebCredential_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/platform/WebEncryptedMediaRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698