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

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

Issue 10116040: Remoting daemon process to support unofficial client ID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compile error Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/host_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 (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 remoting { 12 namespace remoting {
13 13
14 // Following constants define names for configuration parameters. 14 // Following constants define names for configuration parameters.
15 15
16 // Status of the host, whether it is enabled or disabled. 16 // Status of the host, whether it is enabled or disabled.
17 extern const char kHostEnabledConfigPath[]; 17 extern const char kHostEnabledConfigPath[];
18 // Login used to authenticate in XMPP network. 18 // Login used to authenticate in XMPP network.
19 extern const char kXmppLoginConfigPath[]; 19 extern const char kXmppLoginConfigPath[];
20 // Auth token used to authenticate to XMPP network. 20 // Auth token used to authenticate to XMPP network.
21 extern const char kXmppAuthTokenConfigPath[]; 21 extern const char kXmppAuthTokenConfigPath[];
22 // OAuth refresh token used to fetch an access token for the XMPP network. 22 // OAuth refresh token used to fetch an access token for the XMPP network.
23 extern const char kOAuthRefreshTokenConfigPath[]; 23 extern const char kOAuthRefreshTokenConfigPath[];
24 // Flag to indicate whether the official client ID should be used.
25 extern const char kOAuthUseOfficialClientIdConfigPath[];
24 // Auth service used to authenticate to XMPP network. 26 // Auth service used to authenticate to XMPP network.
25 extern const char kXmppAuthServiceConfigPath[]; 27 extern const char kXmppAuthServiceConfigPath[];
26 // Unique identifier of the host used to register the host in directory. 28 // Unique identifier of the host used to register the host in directory.
27 // Normally a random UUID. 29 // Normally a random UUID.
28 extern const char kHostIdConfigPath[]; 30 extern const char kHostIdConfigPath[];
29 // Readable host name. 31 // Readable host name.
30 extern const char kHostNameConfigPath[]; 32 extern const char kHostNameConfigPath[];
31 // Hash of the host secret used for authentication. 33 // Hash of the host secret used for authentication.
32 extern const char kHostSecretHashConfigPath[]; 34 extern const char kHostSecretHashConfigPath[];
33 // Private keys used for host authentication. 35 // Private keys used for host authentication.
(...skipping 26 matching lines...) Expand all
60 62
61 // Saves changes. 63 // Saves changes.
62 virtual bool Save() = 0; 64 virtual bool Save() = 0;
63 65
64 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig); 66 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig);
65 }; 67 };
66 68
67 } // namespace remoting 69 } // namespace remoting
68 70
69 #endif // REMOTING_HOST_HOST_CONFIG_H_ 71 #endif // REMOTING_HOST_HOST_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/host_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698