| 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 <cfgmgr32.h> | 8 #include <cfgmgr32.h> |
| 9 #include <lm.h> | 9 #include <lm.h> |
| 10 #include <powrprof.h> | 10 #include <powrprof.h> |
| 11 #include <shellapi.h> | 11 #include <shellapi.h> |
| 12 #include <shlobj.h> | 12 #include <shlobj.h> |
| 13 #include <shobjidl.h> // Must be before propkey. | 13 #include <shobjidl.h> // Must be before propkey. |
| 14 #include <initguid.h> | 14 #include <initguid.h> |
| 15 #include <propkey.h> | 15 #include <propkey.h> |
| 16 #include <propvarutil.h> | 16 #include <propvarutil.h> |
| 17 #include <sddl.h> | 17 #include <sddl.h> |
| 18 #include <setupapi.h> | 18 #include <setupapi.h> |
| 19 #include <signal.h> | 19 #include <signal.h> |
| 20 #include <stddef.h> |
| 20 #include <stdlib.h> | 21 #include <stdlib.h> |
| 21 | 22 |
| 22 #include "base/base_switches.h" | 23 #include "base/base_switches.h" |
| 23 #include "base/command_line.h" | 24 #include "base/command_line.h" |
| 24 #include "base/lazy_instance.h" | 25 #include "base/lazy_instance.h" |
| 25 #include "base/logging.h" | 26 #include "base/logging.h" |
| 27 #include "base/macros.h" |
| 26 #include "base/memory/scoped_ptr.h" | 28 #include "base/memory/scoped_ptr.h" |
| 27 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
| 28 #include "base/strings/stringprintf.h" | 30 #include "base/strings/stringprintf.h" |
| 29 #include "base/strings/utf_string_conversions.h" | 31 #include "base/strings/utf_string_conversions.h" |
| 30 #include "base/threading/thread_restrictions.h" | 32 #include "base/threading/thread_restrictions.h" |
| 31 #include "base/win/metro.h" | 33 #include "base/win/metro.h" |
| 32 #include "base/win/registry.h" | 34 #include "base/win/registry.h" |
| 33 #include "base/win/scoped_co_mem.h" | 35 #include "base/win/scoped_co_mem.h" |
| 34 #include "base/win/scoped_handle.h" | 36 #include "base/win/scoped_handle.h" |
| 35 #include "base/win/scoped_propvariant.h" | 37 #include "base/win/scoped_propvariant.h" |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 } | 561 } |
| 560 | 562 |
| 561 bool IsUser32AndGdi32Available() { | 563 bool IsUser32AndGdi32Available() { |
| 562 static base::LazyInstance<LazyIsUser32AndGdi32Available>::Leaky available = | 564 static base::LazyInstance<LazyIsUser32AndGdi32Available>::Leaky available = |
| 563 LAZY_INSTANCE_INITIALIZER; | 565 LAZY_INSTANCE_INITIALIZER; |
| 564 return available.Get().value(); | 566 return available.Get().value(); |
| 565 } | 567 } |
| 566 | 568 |
| 567 } // namespace win | 569 } // namespace win |
| 568 } // namespace base | 570 } // namespace base |
| OLD | NEW |