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

Side by Side Diff: content/browser/webauth/authenticator_impl.h

Issue 2966523002: Blink-layer update to match WebAuthN spec (Closed)
Patch Set: Add ContectLifecycleObserver... part2 Created 3 years, 5 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
« no previous file with comments | « no previous file | content/browser/webauth/authenticator_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 CONTENT_BROWSER_WEBAUTH_AUTHENTICATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEBAUTH_AUTHENTICATOR_IMPL_H_
6 #define CONTENT_BROWSER_WEBAUTH_AUTHENTICATOR_IMPL_H_ 6 #define CONTENT_BROWSER_WEBAUTH_AUTHENTICATOR_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 22 matching lines...) Expand all
33 ~AuthenticatorImpl() override; 33 ~AuthenticatorImpl() override;
34 34
35 void set_connection_error_handler(const base::Closure& error_handler) { 35 void set_connection_error_handler(const base::Closure& error_handler) {
36 connection_error_handler_ = error_handler; 36 connection_error_handler_ = error_handler;
37 } 37 }
38 38
39 private: 39 private:
40 explicit AuthenticatorImpl(RenderFrameHost* render_frame_host); 40 explicit AuthenticatorImpl(RenderFrameHost* render_frame_host);
41 41
42 // mojom:Authenticator 42 // mojom:Authenticator
43 void MakeCredential( 43 void MakeCredential(webauth::mojom::MakeCredentialOptionsPtr options,
44 webauth::mojom::RelyingPartyAccountPtr account, 44 MakeCredentialCallback callback) override;
45 std::vector<webauth::mojom::ScopedCredentialParametersPtr> parameters,
46 const std::vector<uint8_t>& challenge,
47 webauth::mojom::ScopedCredentialOptionsPtr options,
48 MakeCredentialCallback callback) override;
49 45
50 base::Closure connection_error_handler_; 46 base::Closure connection_error_handler_;
51 base::CancelableClosure timeout_callback_; 47 base::CancelableClosure timeout_callback_;
52 url::Origin caller_origin_; 48 url::Origin caller_origin_;
53 DISALLOW_COPY_AND_ASSIGN(AuthenticatorImpl); 49 DISALLOW_COPY_AND_ASSIGN(AuthenticatorImpl);
54 }; 50 };
55 51
56 } // namespace content 52 } // namespace content
57 53
58 #endif // CONTENT_BROWSER_WEBAUTH_AUTHENTICATOR_IMPL_H_ 54 #endif // CONTENT_BROWSER_WEBAUTH_AUTHENTICATOR_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/webauth/authenticator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698