| 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 <algorithm> |
| 6 |
| 5 #include "chrome_frame/test_utils.h" | 7 #include "chrome_frame/test_utils.h" |
| 6 | 8 |
| 7 #include <atlbase.h> | 9 #include <atlbase.h> |
| 8 #include <atlwin.h> | 10 #include <atlwin.h> |
| 9 #include <winternl.h> | 11 #include <winternl.h> |
| 10 | 12 |
| 11 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 12 #include "base/file_util.h" | 14 #include "base/file_util.h" |
| 13 #include "base/logging.h" | 15 #include "base/logging.h" |
| 14 #include "base/path_service.h" | 16 #include "base/path_service.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 UOI_NAME, | 316 UOI_NAME, |
| 315 name, | 317 name, |
| 316 sizeof(name), | 318 sizeof(name), |
| 317 &needed)) { | 319 &needed)) { |
| 318 is_locked = lstrcmpi(name, L"default") != 0; | 320 is_locked = lstrcmpi(name, L"default") != 0; |
| 319 } | 321 } |
| 320 ::CloseDesktop(input_desk); | 322 ::CloseDesktop(input_desk); |
| 321 } | 323 } |
| 322 return is_locked; | 324 return is_locked; |
| 323 } | 325 } |
| OLD | NEW |