Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: base/profiler/native_stack_sampler_win.cc

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/profiler/alternate_timer.cc ('k') | base/profiler/scoped_profile.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « base/profiler/alternate_timer.cc ('k') | base/profiler/scoped_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698