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

Side by Side Diff: third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.h

Issue 2895243002: Rename requireUserMediation to preventSilentAccess in the CM API. (Closed)
Patch Set: merge Created 3 years, 7 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 CredentialsContainer_h 5 #ifndef CredentialsContainer_h
6 #define CredentialsContainer_h 6 #define CredentialsContainer_h
7 7
8 #include "modules/ModulesExport.h" 8 #include "modules/ModulesExport.h"
9 #include "platform/bindings/ScriptWrappable.h" 9 #include "platform/bindings/ScriptWrappable.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 14 matching lines...) Expand all
25 25
26 public: 26 public:
27 static CredentialsContainer* Create(); 27 static CredentialsContainer* Create();
28 28
29 // CredentialsContainer.idl 29 // CredentialsContainer.idl
30 ScriptPromise get(ScriptState*, const CredentialRequestOptions&); 30 ScriptPromise get(ScriptState*, const CredentialRequestOptions&);
31 ScriptPromise store(ScriptState*, Credential* = 0); 31 ScriptPromise store(ScriptState*, Credential* = 0);
32 ScriptPromise create(ScriptState*, 32 ScriptPromise create(ScriptState*,
33 const CredentialCreationOptions&, 33 const CredentialCreationOptions&,
34 ExceptionState&); 34 ExceptionState&);
35 ScriptPromise preventSilentAccess(ScriptState*);
35 ScriptPromise requireUserMediation(ScriptState*); 36 ScriptPromise requireUserMediation(ScriptState*);
36 37
37 DEFINE_INLINE_VIRTUAL_TRACE() {} 38 DEFINE_INLINE_VIRTUAL_TRACE() {}
38 39
39 private: 40 private:
40 CredentialsContainer(); 41 CredentialsContainer();
41 }; 42 };
42 43
43 } // namespace blink 44 } // namespace blink
44 45
45 #endif // CredentialsContainer_h 46 #endif // CredentialsContainer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698