summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 20:46:54 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 20:46:54 +0000
commit6d11ff807a6e0d3f0e769dc8587da281230c9e89 (patch)
treeb623ab0d0973962263bef94a6ba460820b1cb621 /chrome_frame
parent5b29a145327916e67cf09ea6710e4b1ad1eb7c51 (diff)
downloadchromium_src-6d11ff807a6e0d3f0e769dc8587da281230c9e89.zip
chromium_src-6d11ff807a6e0d3f0e769dc8587da281230c9e89.tar.gz
chromium_src-6d11ff807a6e0d3f0e769dc8587da281230c9e89.tar.bz2
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
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/crash_reporting/nt_loader_unittest.cc8
-rw-r--r--chrome_frame/vtable_patch_manager_unittest.cc1
2 files changed, 6 insertions, 3 deletions
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 <tlhelp32.h>
#include <winnt.h>
#include <base/at_exit.h>
+#include <base/message_loop.h>
#include <base/scoped_handle.h>
#include <base/string_util.h>
#include <base/sys_info.h>
@@ -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 <unknwn.h>
+#include "base/message_loop.h"
#include "base/thread.h"
#include "base/scoped_handle.h"
#include "gtest/gtest.h"