diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-04 05:18:47 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-04 05:18:47 +0000 |
commit | bf3e52c3bfb0fe963339049950b05cb25372bf75 (patch) | |
tree | 56b3e5145cc04d3908db0889a5fa45a43201a598 /base/base_paths_win.cc | |
parent | af10eb4a05a3bb5cc0a21a0937bf886a1b2fa2de (diff) | |
download | chromium_src-bf3e52c3bfb0fe963339049950b05cb25372bf75.zip chromium_src-bf3e52c3bfb0fe963339049950b05cb25372bf75.tar.gz chromium_src-bf3e52c3bfb0fe963339049950b05cb25372bf75.tar.bz2 |
Moved the Chromoting host configuration under %SystemDrive%\ProgramData and ACL-protected it explicitly. Raised the configuration size limit to 1MB.
This CL also adds IDaemonControl::UpdateConfig stub to be used later for minor configuration changes (changing the host pin for instance).
Review URL: https://chromiumcodereview.appspot.com/9963121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths_win.cc')
-rw-r--r-- | base/base_paths_win.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/base_paths_win.cc b/base/base_paths_win.cc index eab412a..0b24833 100644 --- a/base/base_paths_win.cc +++ b/base/base_paths_win.cc @@ -89,6 +89,12 @@ bool PathProviderWin(int key, FilePath* result) { return false; cur = FilePath(system_buffer); break; + case base::DIR_COMMON_APP_DATA: + if (FAILED(SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA, NULL, + SHGFP_TYPE_CURRENT, system_buffer))) + return false; + cur = FilePath(system_buffer); + break; case base::DIR_PROFILE: if (FAILED(SHGetFolderPath(NULL, CSIDL_PROFILE, NULL, SHGFP_TYPE_CURRENT, system_buffer))) |