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

Unified Diff: remoting/host/daemon_controller_common_win.h

Issue 10191007: [Chromoting] Let the Windows daemon controller read the unprivileged part of the config without ele… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/daemon_controller_common_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_controller_common_win.h
diff --git a/remoting/host/daemon_controller_common_win.h b/remoting/host/daemon_controller_common_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..63edf7233230bf87dbd95fdae79da3f51129262e
--- /dev/null
+++ b/remoting/host/daemon_controller_common_win.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_DAEMON_CONTROLLER_COMMON_WIN_H_
+#define REMOTING_HOST_DAEMON_CONTROLLER_COMMON_WIN_H_
+
+#include "base/file_path.h"
+
+// Code common to the Windows daemon controller and the Windows elevated
+// controller.
+
+namespace remoting {
+
+// The unprivileged configuration file name. The directory for the file is
+// returned by remoting::GetConfigDir().
+extern const FilePath::CharType* kUnprivilegedConfigFileName;
+
+// The maximum size of the configuration file. "1MB ought to be enough" for any
+// reasonable configuration we will ever need. 1MB is low enough to make
+// the probability of out of memory situation fairly low. OOM is still possible
+// and we will crash if it occurs.
+extern const size_t kMaxConfigFileSize;
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_DAEMON_CONTROLLER_COMMON_WIN_H_
« no previous file with comments | « no previous file | remoting/host/daemon_controller_common_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698