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

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

Issue 372943002: Add video frame recording capability to Chromoting hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working implementation. Created 6 years, 5 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
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"
(...skipping 24 matching lines...) Expand all
35 // Readable host name. 35 // Readable host name.
36 extern const char kHostNameConfigPath[]; 36 extern const char kHostNameConfigPath[];
37 // Hash of the host secret used for authentication. 37 // Hash of the host secret used for authentication.
38 extern const char kHostSecretHashConfigPath[]; 38 extern const char kHostSecretHashConfigPath[];
39 // Private keys used for host authentication. 39 // Private keys used for host authentication.
40 extern const char kPrivateKeyConfigPath[]; 40 extern const char kPrivateKeyConfigPath[];
41 // Whether consent is given for usage stats reporting. 41 // Whether consent is given for usage stats reporting.
42 extern const char kUsageStatsConsentConfigPath[]; 42 extern const char kUsageStatsConsentConfigPath[];
43 // Whether to offer VP9 encoding to clients. 43 // Whether to offer VP9 encoding to clients.
44 extern const char kEnableVp9ConfigPath[]; 44 extern const char kEnableVp9ConfigPath[];
45 // Number of Kilobytes of frame data to allow each client to record.
Sergey Ulanov 2014/07/11 18:38:03 nit: it's Kibibytes.
46 extern const char kFrameRecorderBufferKbConfigPath[];
45 47
46 // HostConfig interace provides read-only access to host configuration. 48 // HostConfig interace provides read-only access to host configuration.
47 class HostConfig { 49 class HostConfig {
48 public: 50 public:
49 HostConfig() {} 51 HostConfig() {}
50 virtual ~HostConfig() {} 52 virtual ~HostConfig() {}
51 53
52 virtual bool GetString(const std::string& path, 54 virtual bool GetString(const std::string& path,
53 std::string* out_value) const = 0; 55 std::string* out_value) const = 0;
54 virtual bool GetBoolean(const std::string& path, bool* out_value) const = 0; 56 virtual bool GetBoolean(const std::string& path, bool* out_value) const = 0;
(...skipping 20 matching lines...) Expand all
75 77
76 // Saves changes. 78 // Saves changes.
77 virtual bool Save() = 0; 79 virtual bool Save() = 0;
78 80
79 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig); 81 DISALLOW_COPY_AND_ASSIGN(MutableHostConfig);
80 }; 82 };
81 83
82 } // namespace remoting 84 } // namespace remoting
83 85
84 #endif // REMOTING_HOST_HOST_CONFIG_H_ 86 #endif // REMOTING_HOST_HOST_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698