diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 20:02:42 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 20:02:42 +0000 |
commit | 7b38a2fd5a9bca974a355b409cf53c25881561b9 (patch) | |
tree | 63e1d1bf298af9be8008674ce0c5ac9238324005 /base | |
parent | 81862add7188f848a04aca893b6f595eedb82ffd (diff) | |
download | chromium_src-7b38a2fd5a9bca974a355b409cf53c25881561b9.zip chromium_src-7b38a2fd5a9bca974a355b409cf53c25881561b9.tar.gz chromium_src-7b38a2fd5a9bca974a355b409cf53c25881561b9.tar.bz2 |
Removed unneeded includes of base/time.h.
Review URL: http://codereview.chromium.org/48019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/condition_variable.h | 5 | ||||
-rw-r--r-- | base/condition_variable_posix.cc | 1 | ||||
-rw-r--r-- | base/condition_variable_win.cc | 1 | ||||
-rw-r--r-- | base/event_recorder.cc | 1 | ||||
-rw-r--r-- | base/message_pump_mac.h | 4 | ||||
-rw-r--r-- | base/message_pump_mac.mm | 1 | ||||
-rw-r--r-- | base/process_util_linux.cc | 1 |
7 files changed, 9 insertions, 5 deletions
diff --git a/base/condition_variable.h b/base/condition_variable.h index 5eb2c64..28f9352 100644 --- a/base/condition_variable.h +++ b/base/condition_variable.h @@ -66,7 +66,10 @@ #define BASE_CONDITION_VARIABLE_H_ #include "base/lock.h" -#include "base/time.h" + +namespace base { + class TimeDelta; +} class ConditionVariable { public: diff --git a/base/condition_variable_posix.cc b/base/condition_variable_posix.cc index 4f315b9..8c5a5c2 100644 --- a/base/condition_variable_posix.cc +++ b/base/condition_variable_posix.cc @@ -10,6 +10,7 @@ #include "base/lock.h" #include "base/lock_impl.h" #include "base/logging.h" +#include "base/time.h" using base::Time; using base::TimeDelta; diff --git a/base/condition_variable_win.cc b/base/condition_variable_win.cc index 71f4eb2..f48adb6 100644 --- a/base/condition_variable_win.cc +++ b/base/condition_variable_win.cc @@ -8,6 +8,7 @@ #include "base/lock.h" #include "base/logging.h" +#include "base/time.h" using base::TimeDelta; diff --git a/base/event_recorder.cc b/base/event_recorder.cc index 0f1fb21..3bcd0e26 100644 --- a/base/event_recorder.cc +++ b/base/event_recorder.cc @@ -10,7 +10,6 @@ #include "base/event_recorder.h" #include "base/file_util.h" #include "base/logging.h" -#include "base/time.h" // A note about time. // For perfect playback of events, you'd like a very accurate timer diff --git a/base/message_pump_mac.h b/base/message_pump_mac.h index 20b4a0e..79aebb0 100644 --- a/base/message_pump_mac.h +++ b/base/message_pump_mac.h @@ -34,10 +34,10 @@ #include <CoreFoundation/CoreFoundation.h> -#include "base/time.h" - namespace base { +class Time; + class MessagePumpCFRunLoopBase : public MessagePump { public: MessagePumpCFRunLoopBase(); diff --git a/base/message_pump_mac.mm b/base/message_pump_mac.mm index 1400a78..3328bc9 100644 --- a/base/message_pump_mac.mm +++ b/base/message_pump_mac.mm @@ -9,6 +9,7 @@ #include <float.h> #include "base/scoped_nsautorelease_pool.h" +#include "base/time.h" namespace { diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc index 2253ff2..7e43885 100644 --- a/base/process_util_linux.cc +++ b/base/process_util_linux.cc @@ -16,7 +16,6 @@ #include "base/logging.h" #include "base/string_tokenizer.h" #include "base/string_util.h" -#include "base/time.h" namespace { |