summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chrome/browser/automation/ui_controls_mac.mm4
-rw-r--r--chrome/browser/password_manager/password_store_mac.cc4
-rw-r--r--chrome/browser/views/about_network_dialog.cc3
-rw-r--r--chrome/browser/views/shell_dialogs_win.cc3
-rw-r--r--chrome_frame/crash_reporting/nt_loader_unittest.cc8
-rw-r--r--chrome_frame/vtable_patch_manager_unittest.cc1
-rw-r--r--media/tools/player_wtl/movie.h3
-rw-r--r--webkit/default_plugin/plugin_install_job_monitor.cc3
-rw-r--r--webkit/glue/plugins/test/plugin_thread_async_call_test.cc3
9 files changed, 22 insertions, 10 deletions
diff --git a/chrome/browser/automation/ui_controls_mac.mm b/chrome/browser/automation/ui_controls_mac.mm
index e16a968..715135c1 100644
--- a/chrome/browser/automation/ui_controls_mac.mm
+++ b/chrome/browser/automation/ui_controls_mac.mm
@@ -2,10 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/browser/automation/ui_controls.h"
+
#import <Cocoa/Cocoa.h>
#include <mach/mach_time.h>
-#include "chrome/browser/automation/ui_controls.h"
+#include "base/message_loop.h"
#include "chrome/browser/chrome_thread.h"
// Implementation details: We use [NSApplication sendEvent:] instead
diff --git a/chrome/browser/password_manager/password_store_mac.cc b/chrome/browser/password_manager/password_store_mac.cc
index de8e5d5..02f7eef 100644
--- a/chrome/browser/password_manager/password_store_mac.cc
+++ b/chrome/browser/password_manager/password_store_mac.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.
@@ -6,11 +6,13 @@
#include "chrome/browser/password_manager/password_store_mac_internal.h"
#include <CoreServices/CoreServices.h>
+#include <set>
#include <string>
#include <vector>
#include "base/logging.h"
#include "base/mac_util.h"
+#include "base/message_loop.h"
#include "base/stl_util-inl.h"
#include "base/string_util.h"
#include "base/task.h"
diff --git a/chrome/browser/views/about_network_dialog.cc b/chrome/browser/views/about_network_dialog.cc
index 0fc8e16..b9375ca 100644
--- a/chrome/browser/views/about_network_dialog.cc
+++ b/chrome/browser/views/about_network_dialog.cc
@@ -1,9 +1,10 @@
-// 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/browser/views/about_network_dialog.h"
+#include "base/message_loop.h"
#include "base/thread.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/chrome_thread.h"
diff --git a/chrome/browser/views/shell_dialogs_win.cc b/chrome/browser/views/shell_dialogs_win.cc
index 7d4f8ef..199b384 100644
--- a/chrome/browser/views/shell_dialogs_win.cc
+++ b/chrome/browser/views/shell_dialogs_win.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 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.
@@ -14,6 +14,7 @@
#include "app/l10n_util.h"
#include "app/win_util.h"
#include "base/file_util.h"
+#include "base/message_loop.h"
#include "base/registry.h"
#include "base/scoped_comptr_win.h"
#include "base/thread.h"
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"
diff --git a/media/tools/player_wtl/movie.h b/media/tools/player_wtl/movie.h
index ed81182..e505165 100644
--- a/media/tools/player_wtl/movie.h
+++ b/media/tools/player_wtl/movie.h
@@ -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.
@@ -9,6 +9,7 @@
#include "media/tools/player_wtl/player_wtl.h"
+#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
#include "base/singleton.h"
#include "base/thread.h"
diff --git a/webkit/default_plugin/plugin_install_job_monitor.cc b/webkit/default_plugin/plugin_install_job_monitor.cc
index c762f34..61eba92 100644
--- a/webkit/default_plugin/plugin_install_job_monitor.cc
+++ b/webkit/default_plugin/plugin_install_job_monitor.cc
@@ -1,9 +1,10 @@
-// Copyright (c) 2006-2008 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 "webkit/default_plugin/plugin_install_job_monitor.h"
+#include "base/message_loop.h"
#include "webkit/default_plugin/plugin_impl.h"
PluginInstallationJobMonitorThread::PluginInstallationJobMonitorThread()
diff --git a/webkit/glue/plugins/test/plugin_thread_async_call_test.cc b/webkit/glue/plugins/test/plugin_thread_async_call_test.cc
index 0ae0d2a..2e9f9e9 100644
--- a/webkit/glue/plugins/test/plugin_thread_async_call_test.cc
+++ b/webkit/glue/plugins/test/plugin_thread_async_call_test.cc
@@ -1,9 +1,10 @@
-// Copyright (c) 2006-2008 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 "webkit/glue/plugins/test/plugin_thread_async_call_test.h"
+#include "base/message_loop.h"
#include "base/thread.h"
#include "webkit/glue/plugins/test/plugin_client.h"