diff options
-rw-r--r-- | chrome/browser/automation/ui_controls_mac.mm | 4 | ||||
-rw-r--r-- | chrome/browser/password_manager/password_store_mac.cc | 4 | ||||
-rw-r--r-- | chrome/browser/views/about_network_dialog.cc | 3 | ||||
-rw-r--r-- | chrome/browser/views/shell_dialogs_win.cc | 3 | ||||
-rw-r--r-- | chrome_frame/crash_reporting/nt_loader_unittest.cc | 8 | ||||
-rw-r--r-- | chrome_frame/vtable_patch_manager_unittest.cc | 1 | ||||
-rw-r--r-- | media/tools/player_wtl/movie.h | 3 | ||||
-rw-r--r-- | webkit/default_plugin/plugin_install_job_monitor.cc | 3 | ||||
-rw-r--r-- | webkit/glue/plugins/test/plugin_thread_async_call_test.cc | 3 |
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" |