OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <objbase.h> | 5 #include <objbase.h> |
6 #include <windows.h> | 6 #include <windows.h> |
| 7 #include <stddef.h> |
7 #include <winternl.h> | 8 #include <winternl.h> |
8 | 9 |
9 #include <cstdlib> | 10 #include <cstdlib> |
10 #include <map> | 11 #include <map> |
11 #include <utility> | 12 #include <utility> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
15 #include "base/logging.h" | 16 #include "base/logging.h" |
16 #include "base/macros.h" | 17 #include "base/macros.h" |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 if (thread_handle) { | 498 if (thread_handle) { |
498 return scoped_ptr<NativeStackSampler>(new NativeStackSamplerWin( | 499 return scoped_ptr<NativeStackSampler>(new NativeStackSamplerWin( |
499 win::ScopedHandle(thread_handle), | 500 win::ScopedHandle(thread_handle), |
500 test_delegate)); | 501 test_delegate)); |
501 } | 502 } |
502 #endif | 503 #endif |
503 return scoped_ptr<NativeStackSampler>(); | 504 return scoped_ptr<NativeStackSampler>(); |
504 } | 505 } |
505 | 506 |
506 } // namespace base | 507 } // namespace base |
OLD | NEW |