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

Side by Side Diff: remoting/protocol/client_authentication_config.h

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | remoting/protocol/client_authentication_config.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 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 #ifndef REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_ 5 #ifndef REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_
6 #define REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_ 6 #define REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 22 matching lines...) Expand all
33 // |token_fetched_callback| is called when the client authentication ends, on 33 // |token_fetched_callback| is called when the client authentication ends, on
34 // the same thread on which FetchThirdPartyTokenCallback was originally called. 34 // the same thread on which FetchThirdPartyTokenCallback was originally called.
35 typedef base::Callback<void( 35 typedef base::Callback<void(
36 const std::string& token_url, 36 const std::string& token_url,
37 const std::string& scope, 37 const std::string& scope,
38 const ThirdPartyTokenFetchedCallback& token_fetched_callback)> 38 const ThirdPartyTokenFetchedCallback& token_fetched_callback)>
39 FetchThirdPartyTokenCallback; 39 FetchThirdPartyTokenCallback;
40 40
41 struct ClientAuthenticationConfig { 41 struct ClientAuthenticationConfig {
42 ClientAuthenticationConfig(); 42 ClientAuthenticationConfig();
43 ClientAuthenticationConfig(const ClientAuthenticationConfig& other);
43 ~ClientAuthenticationConfig(); 44 ~ClientAuthenticationConfig();
44 45
45 // Used for all authenticators. 46 // Used for all authenticators.
46 std::string host_id; 47 std::string host_id;
47 48
48 // Used for pairing authenticators 49 // Used for pairing authenticators
49 std::string pairing_client_id; 50 std::string pairing_client_id;
50 std::string pairing_secret; 51 std::string pairing_secret;
51 52
52 // Used for shared secret authenticators. 53 // Used for shared secret authenticators.
53 FetchSecretCallback fetch_secret_callback; 54 FetchSecretCallback fetch_secret_callback;
54 55
55 // Used for third party authenticators. 56 // Used for third party authenticators.
56 FetchThirdPartyTokenCallback fetch_third_party_token_callback; 57 FetchThirdPartyTokenCallback fetch_third_party_token_callback;
57 }; 58 };
58 59
59 } // namespace protocol 60 } // namespace protocol
60 } // namespace remoting 61 } // namespace remoting
61 62
62 #endif // REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_ 63 #endif // REMOTING_PROTOCOL_CLIENT_AUTHENTICATION_CONFIG_H_
OLDNEW
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | remoting/protocol/client_authentication_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698