| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "base/win/win_util.h" | 5 #include "base/win/win_util.h" |
| 6 | 6 |
| 7 #include <aclapi.h> | 7 #include <aclapi.h> |
| 8 #include <shobjidl.h> // Must be before propkey. | 8 #include <shobjidl.h> // Must be before propkey. |
| 9 #include <propkey.h> | 9 #include <propkey.h> |
| 10 #include <propvarutil.h> | 10 #include <propvarutil.h> |
| 11 #include <sddl.h> | 11 #include <sddl.h> |
| 12 #include <shlobj.h> | 12 #include <shlobj.h> |
| 13 | 13 |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/win/registry.h" | 15 #include "base/win/registry.h" |
| 16 #include "base/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/string_util.h" | 17 #include "base/string_util.h" |
| 18 #include "base/stringprintf.h" | 18 #include "base/stringprintf.h" |
| 19 #include "base/threading/thread_restrictions.h" | 19 #include "base/threading/thread_restrictions.h" |
| 20 #include "base/win/scoped_handle.h" | 20 #include "base/win/scoped_handle.h" |
| 21 #include "base/win/windows_version.h" | 21 #include "base/win/windows_version.h" |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 namespace win { | 24 namespace win { |
| 25 | 25 |
| 26 #define SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(struct_name, member) \ | 26 #define SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(struct_name, member) \ |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 161 |
| 162 #ifndef COPY_FILE_COPY_SYMLINK | 162 #ifndef COPY_FILE_COPY_SYMLINK |
| 163 #error You must install the Windows 2008 or Vista Software Development Kit and \ | 163 #error You must install the Windows 2008 or Vista Software Development Kit and \ |
| 164 set it as your default include path to build this library. You can grab it by \ | 164 set it as your default include path to build this library. You can grab it by \ |
| 165 searching for "download windows sdk 2008" in your favorite web search engine. \ | 165 searching for "download windows sdk 2008" in your favorite web search engine. \ |
| 166 Also make sure you register the SDK with Visual Studio, by selecting \ | 166 Also make sure you register the SDK with Visual Studio, by selecting \ |
| 167 "Integrate Windows SDK with Visual Studio 2005" from the Windows SDK \ | 167 "Integrate Windows SDK with Visual Studio 2005" from the Windows SDK \ |
| 168 menu (see Start - All Programs - Microsoft Windows SDK - \ | 168 menu (see Start - All Programs - Microsoft Windows SDK - \ |
| 169 Visual Studio Registration). | 169 Visual Studio Registration). |
| 170 #endif | 170 #endif |
| OLD | NEW |