From 6d11ff807a6e0d3f0e769dc8587da281230c9e89 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Mon, 10 May 2010 20:46:54 +0000 Subject: Cleanup: Add a bunch of missing includes. BUG=none TEST=none Review URL: http://codereview.chromium.org/2018001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46850 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/crash_reporting/nt_loader_unittest.cc | 8 +++++--- chrome_frame/vtable_patch_manager_unittest.cc | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'chrome_frame') diff --git a/chrome_frame/crash_reporting/nt_loader_unittest.cc b/chrome_frame/crash_reporting/nt_loader_unittest.cc index 45546f6..a73fb9f 100644 --- a/chrome_frame/crash_reporting/nt_loader_unittest.cc +++ b/chrome_frame/crash_reporting/nt_loader_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome_frame/crash_reporting/nt_loader.h" @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -27,7 +28,8 @@ void AssertIsCriticalSection(CRITICAL_SECTION* critsec) { class ScopedEnterCriticalSection { public: - ScopedEnterCriticalSection(CRITICAL_SECTION* critsec) : critsec_(critsec) { + explicit ScopedEnterCriticalSection(CRITICAL_SECTION* critsec) + : critsec_(critsec) { ::EnterCriticalSection(critsec_); } @@ -165,7 +167,7 @@ TEST(NtLoader, GetLoaderEntry) { EXPECT_TRUE(is_shimeng || (flags & LDRP_PROCESS_ATTACH_CALLED)); } } - } while(::Module32Next(snap.Get(), &module)); + } while (::Module32Next(snap.Get(), &module)); } namespace { diff --git a/chrome_frame/vtable_patch_manager_unittest.cc b/chrome_frame/vtable_patch_manager_unittest.cc index dd1eb83..10c73be 100644 --- a/chrome_frame/vtable_patch_manager_unittest.cc +++ b/chrome_frame/vtable_patch_manager_unittest.cc @@ -4,6 +4,7 @@ #include "chrome_frame/vtable_patch_manager.h" #include +#include "base/message_loop.h" #include "base/thread.h" #include "base/scoped_handle.h" #include "gtest/gtest.h" -- cgit v1.1