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

Side by Side Diff: remoting/host/host_config.h

Issue 595063005: Save the client base JID for authentication in case it differs from the email (for accounts non-Goo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HOST_HOST_CONFIG_H_ 5 #ifndef REMOTING_HOST_HOST_CONFIG_H_
6 #define REMOTING_HOST_HOST_CONFIG_H_ 6 #define REMOTING_HOST_HOST_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 namespace base { 12 namespace base {
13 class DictionaryValue; 13 class DictionaryValue;
14 } // namespace base 14 } // namespace base
15 15
16 namespace remoting { 16 namespace remoting {
17 17
18 // Following constants define names for configuration parameters. 18 // Following constants define names for configuration parameters.
19 19
20 // Status of the host, whether it is enabled or disabled. 20 // Status of the host, whether it is enabled or disabled.
21 extern const char kHostEnabledConfigPath[]; 21 extern const char kHostEnabledConfigPath[];
22 // Google account of the owner of this host. 22 // Base JID of the owner of this host.
Sergey Ulanov 2014/09/25 02:28:46 It's worth mentioning why it may be different from
rmsousa 2014/09/27 01:42:17 Done.
23 extern const char kHostOwnerConfigPath[]; 23 extern const char kHostOwnerConfigPath[];
24 // Email of the owner of this host.
25 extern const char kHostOwnerEmailConfigPath[];
24 // Login used to authenticate in XMPP network. 26 // Login used to authenticate in XMPP network.
25 extern const char kXmppLoginConfigPath[]; 27 extern const char kXmppLoginConfigPath[];
26 // Auth token used to authenticate to XMPP network. 28 // Auth token used to authenticate to XMPP network.
27 extern const char kXmppAuthTokenConfigPath[]; 29 extern const char kXmppAuthTokenConfigPath[];
28 // OAuth refresh token used to fetch an access token for the XMPP network. 30 // OAuth refresh token used to fetch an access token for the XMPP network.
29 extern const char kOAuthRefreshTokenConfigPath[]; 31 extern const char kOAuthRefreshTokenConfigPath[];
30 // Auth service used to authenticate to XMPP network. 32 // Auth service used to authenticate to XMPP network.
31 extern const char kXmppAuthServiceConfigPath[]; 33 extern const char kXmppAuthServiceConfigPath[];
32 // Unique identifier of the host used to register the host in directory. 34 // Unique identifier of the host used to register the host in directory.
33 // Normally a random UUID. 35 // Normally a random UUID.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 79
78 // Saves changes. 80 // Saves changes.
79 virtual bool Save() = 0; 81 virtual bool Save() = 0;
80 82
81 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig); 83 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig);
82 }; 84 };
83 85
84 } // namespace remoting 86 } // namespace remoting
85 87
86 #endif // REMOTING_HOST_HOST_CONFIG_H_ 88 #endif // REMOTING_HOST_HOST_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698