Chromium Code Reviews| 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. The directory for the file is | |
| 16 // remoting::GetConfigDir(). | |
|
alexeypa (please no reviews)
2012/04/25 16:36:56
nit: ... is returned by remoting::GetConfigDir(),
simonmorris
2012/04/25 17:08:44
Done.
| |
| 17 extern const FilePath::CharType* kUnprivilegedConfigFileName; | |
| 18 | |
| 19 // The maximum size of the configuration file. "1MB ought to be enough" for any | |
| 20 // reasonable configuration we will ever need. 1MB is low enough to make | |
| 21 // the probability of out of memory situation fairly low. OOM is still possible | |
| 22 // and we will crash if it occurs. | |
| 23 extern const size_t kMaxConfigFileSize; | |
| 24 | |
| 25 } // namespace remoting | |
| 26 | |
| 27 #endif // REMOTING_HOST_DAEMON_CONTROLLER_COMMON_WIN_H_ | |
| OLD | NEW |