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

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

Issue 959033004: Remove ClientLogin support from remoting host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « remoting/client/jni/chromoting_jni_instance.cc ('k') | remoting/host/host_config_constants.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 (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 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace base { 13 namespace base {
14 class DictionaryValue; 14 class DictionaryValue;
15 class FilePath; 15 class FilePath;
16 } // namespace base 16 } // namespace base
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 // Following constants define names for configuration parameters. 20 // Following constants define names for configuration parameters.
21 21
22 // Status of the host, whether it is enabled or disabled. 22 // Status of the host, whether it is enabled or disabled.
23 extern const char kHostEnabledConfigPath[]; 23 extern const char kHostEnabledConfigPath[];
24 // Base JID of the host owner (may not equal the email for non-gmail users). 24 // Base JID of the host owner (may not equal the email for non-gmail users).
25 extern const char kHostOwnerConfigPath[]; 25 extern const char kHostOwnerConfigPath[];
26 // Email of the owner of this host. 26 // Email of the owner of this host.
27 extern const char kHostOwnerEmailConfigPath[]; 27 extern const char kHostOwnerEmailConfigPath[];
28 // Login used to authenticate in XMPP network (could be a service account). 28 // Login used to authenticate in XMPP network (could be a service account).
29 extern const char kXmppLoginConfigPath[]; 29 extern const char kXmppLoginConfigPath[];
30 // Auth token used to authenticate to XMPP network.
31 extern const char kXmppAuthTokenConfigPath[];
32 // 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.
33 extern const char kOAuthRefreshTokenConfigPath[]; 31 extern const char kOAuthRefreshTokenConfigPath[];
34 // Auth service used to authenticate to XMPP network.
35 extern const char kXmppAuthServiceConfigPath[];
36 // Unique identifier of the host used to register the host in directory. 32 // Unique identifier of the host used to register the host in directory.
37 // Normally a random UUID. 33 // Normally a random UUID.
38 extern const char kHostIdConfigPath[]; 34 extern const char kHostIdConfigPath[];
39 // Readable host name. 35 // Readable host name.
40 extern const char kHostNameConfigPath[]; 36 extern const char kHostNameConfigPath[];
41 // Hash of the host secret used for authentication. 37 // Hash of the host secret used for authentication.
42 extern const char kHostSecretHashConfigPath[]; 38 extern const char kHostSecretHashConfigPath[];
43 // Private keys used for host authentication. 39 // Private keys used for host authentication.
44 extern const char kPrivateKeyConfigPath[]; 40 extern const char kPrivateKeyConfigPath[];
45 // Whether consent is given for usage stats reporting. 41 // Whether consent is given for usage stats reporting.
(...skipping 10 matching lines...) Expand all
56 52
57 // Helpers for loading/saving host configurations from/to files. 53 // Helpers for loading/saving host configurations from/to files.
58 scoped_ptr<base::DictionaryValue> HostConfigFromJsonFile( 54 scoped_ptr<base::DictionaryValue> HostConfigFromJsonFile(
59 const base::FilePath& config_file); 55 const base::FilePath& config_file);
60 bool HostConfigToJsonFile(const base::DictionaryValue& host_config, 56 bool HostConfigToJsonFile(const base::DictionaryValue& host_config,
61 const base::FilePath& config_file); 57 const base::FilePath& config_file);
62 58
63 } // namespace remoting 59 } // namespace remoting
64 60
65 #endif // REMOTING_HOST_HOST_CONFIG_H_ 61 #endif // REMOTING_HOST_HOST_CONFIG_H_
OLDNEW
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.cc ('k') | remoting/host/host_config_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698