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

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

Issue 7008003: Wire in OAuth2 support into non-sandboxed connections in libjingle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright + rebase Created 9 years, 7 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 | « remoting/host/chromoting_host.cc ('k') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 11
12 class Task; 12 class Task;
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 // Following constants define names for configuration parameters. 16 // Following constants define names for configuration parameters.
17 17
18 // Status of the host, whether it is enabled or disabled. 18 // Status of the host, whether it is enabled or disabled.
19 extern const char kHostEnabledConfigPath[]; 19 extern const char kHostEnabledConfigPath[];
20 // Login used to authenticate in XMPP network. 20 // Login used to authenticate in XMPP network.
21 extern const char kXmppLoginConfigPath[]; 21 extern const char kXmppLoginConfigPath[];
22 // Auth token used to authenticate in XMPP network. 22 // Auth token used to authenticate to XMPP network.
23 extern const char kXmppAuthTokenConfigPath[]; 23 extern const char kXmppAuthTokenConfigPath[];
24 // Auth service used to authenticate to XMPP network.
25 extern const char kXmppAuthServiceConfigPath[];
24 // Unique identifier of the host used to register the host in directory. 26 // Unique identifier of the host used to register the host in directory.
25 // Normally a random UUID. 27 // Normally a random UUID.
26 extern const char kHostIdConfigPath[]; 28 extern const char kHostIdConfigPath[];
27 // Readable host name. 29 // Readable host name.
28 extern const char kHostNameConfigPath[]; 30 extern const char kHostNameConfigPath[];
29 // Private keys used for host authentication. 31 // Private keys used for host authentication.
30 extern const char kPrivateKeyConfigPath[]; 32 extern const char kPrivateKeyConfigPath[];
31 33
32 // HostConfig interace provides read-only access to host configuration. 34 // HostConfig interace provides read-only access to host configuration.
33 class HostConfig : public base::RefCountedThreadSafe<HostConfig> { 35 class HostConfig : public base::RefCountedThreadSafe<HostConfig> {
(...skipping 20 matching lines...) Expand all
54 56
55 // Save's changes. 57 // Save's changes.
56 virtual void Save() = 0; 58 virtual void Save() = 0;
57 59
58 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig); 60 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig);
59 }; 61 };
60 62
61 } // namespace remoting 63 } // namespace remoting
62 64
63 #endif // REMOTING_HOST_HOST_CONFIG_H_ 65 #endif // REMOTING_HOST_HOST_CONFIG_H_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/host_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698