OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_HOST_DAEMON_CONTROLLER_COMMON_WIN_H_ | |
6 #define REMOTING_HOST_DAEMON_CONTROLLER_COMMON_WIN_H_ | |
7 | |
8 #include "base/file_path.h" | |
9 | |
10 // Code common to the Windows daemon controller and the Windows elevated | |
11 // controller. | |
12 | |
13 namespace remoting { | |
14 | |
15 // The unprivileged configuration file name. | |
alexeypa (please no reviews)
2012/04/24 16:54:56
nit: Document the location of the file as well.
simonmorris
2012/04/25 00:33:32
Done.
| |
16 extern const FilePath::CharType* kUnprivilegedConfigFileName; | |
17 | |
18 // The maximum size of the configuration file. "1MB ought to be enough" for any | |
19 // reasonable configuration we will ever need. 1MB is low enough to make | |
20 // the probability of out of memory situation fairly low. OOM is still possible | |
21 // and we will crash if it occurs. | |
22 extern const size_t kMaxConfigFileSize; | |
23 | |
24 } // namespace remoting | |
25 | |
26 #endif // REMOTING_HOST_DAEMON_CONTROLLER_COMMON_WIN_H_ | |
OLD | NEW |