diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 22:41:54 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 22:41:54 +0000 |
commit | 56d01f63dc6ddb958dd8ce1d0c711ed87c3f0180 (patch) | |
tree | aa11ad8a1871b967fe136aa5900d6de8023544ad /base | |
parent | 9f9f86ce20db46dfed79eff111eed7a2f3bff48d (diff) | |
download | chromium_src-56d01f63dc6ddb958dd8ce1d0c711ed87c3f0180.zip chromium_src-56d01f63dc6ddb958dd8ce1d0c711ed87c3f0180.tar.gz chromium_src-56d01f63dc6ddb958dd8ce1d0c711ed87c3f0180.tar.bz2 |
Remove unneeded uses of logging.h in header files.
Review URL: http://codereview.chromium.org/43148
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/condition_variable.h | 1 | ||||
-rw-r--r-- | base/non_thread_safe.cc | 4 | ||||
-rw-r--r-- | base/non_thread_safe.h | 1 | ||||
-rw-r--r-- | base/task.h | 1 | ||||
-rw-r--r-- | base/test_file_util_win.cc | 1 | ||||
-rw-r--r-- | base/timer.h | 1 | ||||
-rw-r--r-- | base/watchdog.h | 1 | ||||
-rw-r--r-- | base/worker_pool_linux.cc | 1 | ||||
-rw-r--r-- | base/worker_pool_win.cc | 1 |
9 files changed, 7 insertions, 5 deletions
diff --git a/base/condition_variable.h b/base/condition_variable.h index 5ee7f74..c292f3d 100644 --- a/base/condition_variable.h +++ b/base/condition_variable.h @@ -66,7 +66,6 @@ #define BASE_CONDITION_VARIABLE_H_ #include "base/lock.h" -#include "base/logging.h" #include "base/scoped_ptr.h" #include "base/time.h" diff --git a/base/non_thread_safe.cc b/base/non_thread_safe.cc index 1163742..d8a91c6 100644 --- a/base/non_thread_safe.cc +++ b/base/non_thread_safe.cc @@ -4,11 +4,11 @@ #include "base/non_thread_safe.h" -#include "base/platform_thread.h" - // These checks are only done in debug builds. #ifndef NDEBUG +#include "base/logging.h" + NonThreadSafe::NonThreadSafe() : valid_thread_id_(PlatformThread::CurrentId()) { } diff --git a/base/non_thread_safe.h b/base/non_thread_safe.h index e85a554..1da46aa 100644 --- a/base/non_thread_safe.h +++ b/base/non_thread_safe.h @@ -5,7 +5,6 @@ #ifndef BASE_NON_THREAD_SAFE_H__ #define BASE_NON_THREAD_SAFE_H__ -#include "base/logging.h" #include "base/platform_thread.h" // A helper class used to help verify that methods of a class are diff --git a/base/task.h b/base/task.h index 0aeea17..36bd43f 100644 --- a/base/task.h +++ b/base/task.h @@ -5,7 +5,6 @@ #ifndef BASE_TASK_H_ #define BASE_TASK_H_ -#include "base/logging.h" #include "base/non_thread_safe.h" #include "base/revocable_store.h" #include "base/tracked.h" diff --git a/base/test_file_util_win.cc b/base/test_file_util_win.cc index 705fba8..f6a5bec 100644 --- a/base/test_file_util_win.cc +++ b/base/test_file_util_win.cc @@ -10,6 +10,7 @@ #include "base/file_path.h" #include "base/file_util.h" +#include "base/logging.h" #include "base/scoped_handle.h" namespace file_util { diff --git a/base/timer.h b/base/timer.h index 08c851f..887c2c3 100644 --- a/base/timer.h +++ b/base/timer.h @@ -46,6 +46,7 @@ // because they're flaky on the buildbot, but when you run them locally you // should be able to tell the difference. +#include "base/logging.h" #include "base/task.h" #include "base/time.h" diff --git a/base/watchdog.h b/base/watchdog.h index 361d053..59ee80c 100644 --- a/base/watchdog.h +++ b/base/watchdog.h @@ -22,6 +22,7 @@ #include "base/condition_variable.h" #include "base/lock.h" +#include "base/logging.h" #include "base/platform_thread.h" #include "base/time.h" diff --git a/base/worker_pool_linux.cc b/base/worker_pool_linux.cc index fce8861..95023f7 100644 --- a/base/worker_pool_linux.cc +++ b/base/worker_pool_linux.cc @@ -4,6 +4,7 @@ #include "base/worker_pool.h" +#include "base/logging.h" #include "base/task.h" namespace { diff --git a/base/worker_pool_win.cc b/base/worker_pool_win.cc index 4bf0947..3f383b9 100644 --- a/base/worker_pool_win.cc +++ b/base/worker_pool_win.cc @@ -4,6 +4,7 @@ #include "base/worker_pool.h" +#include "base/logging.h" #include "base/task.h" namespace { |