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

Side by Side Diff: chrome_frame/crash_reporting/vectored_handler_unittest.cc

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « chrome_frame/crash_reporting/crash_report.h ('k') | chrome_frame/crash_reporting/veh_test.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <atlbase.h> 5 #include <atlbase.h>
6 6
7 #include "base/environment.h" 7 #include "base/environment.h"
8 #include "base/logging.h"
9 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
10 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
11 #include "chrome_frame/crash_reporting/crash_dll.h" 10 #include "chrome_frame/crash_reporting/crash_dll.h"
12 #include "chrome_frame/crash_reporting/nt_loader.h" 11 #include "chrome_frame/crash_reporting/nt_loader.h"
13 #include "chrome_frame/crash_reporting/vectored_handler-impl.h" 12 #include "chrome_frame/crash_reporting/vectored_handler-impl.h"
14 #include "chrome_frame/crash_reporting/veh_test.h" 13 #include "chrome_frame/crash_reporting/veh_test.h"
15 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
17 16
18 using testing::_; 17 using testing::_;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 219
221 DWORD tid; 220 DWORD tid;
222 HANDLE h = ::CreateThread(0, 0, CrashingThread, 0, 0, &tid); 221 HANDLE h = ::CreateThread(0, 0, CrashingThread, 0, 0, &tid);
223 ::WaitForSingleObject(h, INFINITE); 222 ::WaitForSingleObject(h, INFINITE);
224 ::CloseHandle(h); 223 ::CloseHandle(h);
225 224
226 EXPECT_EQ(2, veh.get_exceptions_seen()); 225 EXPECT_EQ(2, veh.get_exceptions_seen());
227 ::RemoveVectoredExceptionHandler(id); 226 ::RemoveVectoredExceptionHandler(id);
228 g_mock_veh = NULL; 227 g_mock_veh = NULL;
229 } 228 }
OLDNEW
« no previous file with comments | « chrome_frame/crash_reporting/crash_report.h ('k') | chrome_frame/crash_reporting/veh_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698