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

Side by Side Diff: base/debug/asan_invalid_access.cc

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 years, 1 month 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/cpu_unittest.cc ('k') | base/debug/debugger_unittest.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #if defined(OS_WIN)
6 #include <windows.h>
7 #endif
8
9 #include "base/debug/alias.h" 5 #include "base/debug/alias.h"
10 #include "base/debug/asan_invalid_access.h" 6 #include "base/debug/asan_invalid_access.h"
11 #include "base/logging.h" 7 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
13 9
14 namespace base { 10 namespace base {
15 namespace debug { 11 namespace debug {
16 12
17 namespace { 13 namespace {
18 14
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 CorruptMemoryBlock(false); 92 CorruptMemoryBlock(false);
97 } 93 }
98 94
99 void AsanCorruptHeap() { 95 void AsanCorruptHeap() {
100 CorruptMemoryBlock(true); 96 CorruptMemoryBlock(true);
101 } 97 }
102 #endif // SYZYASAN && COMPILER_MSVC 98 #endif // SYZYASAN && COMPILER_MSVC
103 99
104 } // namespace debug 100 } // namespace debug
105 } // namespace base 101 } // namespace base
OLDNEW
« no previous file with comments | « base/cpu_unittest.cc ('k') | base/debug/debugger_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698