OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 <shellapi.h> | 8 #include <shellapi.h> |
9 #include <shlobj.h> | 9 #include <shlobj.h> |
10 #include <shobjidl.h> // Must be before propkey. | 10 #include <shobjidl.h> // Must be before propkey. |
11 #include <initguid.h> | 11 #include <initguid.h> |
12 #include <propkey.h> | 12 #include <propkey.h> |
13 #include <propvarutil.h> | 13 #include <propvarutil.h> |
14 #include <sddl.h> | 14 #include <sddl.h> |
15 #include <signal.h> | 15 #include <signal.h> |
16 #include <stdlib.h> | 16 #include <stdlib.h> |
17 | 17 |
18 #include "base/lazy_instance.h" | 18 #include "base/lazy_instance.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
21 #include "base/string_util.h" | 21 #include "base/strings/string_util.h" |
22 #include "base/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
23 #include "base/threading/thread_restrictions.h" | 23 #include "base/threading/thread_restrictions.h" |
24 #include "base/win/registry.h" | 24 #include "base/win/registry.h" |
25 #include "base/win/scoped_co_mem.h" | 25 #include "base/win/scoped_co_mem.h" |
26 #include "base/win/scoped_handle.h" | 26 #include "base/win/scoped_handle.h" |
27 #include "base/win/scoped_propvariant.h" | 27 #include "base/win/scoped_propvariant.h" |
28 #include "base/win/windows_version.h" | 28 #include "base/win/windows_version.h" |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
32 // Sets the value of |property_key| to |property_value| in |property_store|. | 32 // Sets the value of |property_key| to |property_value| in |property_store|. |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 #if defined(_MSC_FULL_VER) | 341 #if defined(_MSC_FULL_VER) |
342 #pragma message(__PPOUT__(_MSC_FULL_VER)) | 342 #pragma message(__PPOUT__(_MSC_FULL_VER)) |
343 #endif | 343 #endif |
344 | 344 |
345 #pragma message("Visual Studio 2012 x86 must be updated to at least Update 1") | 345 #pragma message("Visual Studio 2012 x86 must be updated to at least Update 1") |
346 #error Must install Update 1 to Visual Studio 2012. | 346 #error Must install Update 1 to Visual Studio 2012. |
347 #endif | 347 #endif |
348 | 348 |
349 #endif // _MSC_VER | 349 #endif // _MSC_VER |
350 | 350 |
OLD | NEW |