summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-10 01:25:05 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-10 01:25:05 +0000
commitefbee203138ec32c209706ac5d31faa1c03e6a23 (patch)
treed840d8a79efffe4e37a96c92b313461ef2dd326f /base
parent7e30f6468bd77634a4397e59e9a4e04bda6f7129 (diff)
downloadchromium_src-efbee203138ec32c209706ac5d31faa1c03e6a23.zip
chromium_src-efbee203138ec32c209706ac5d31faa1c03e6a23.tar.gz
chromium_src-efbee203138ec32c209706ac5d31faa1c03e6a23.tar.bz2
Cleanup: IWYU for base/time.h. Also fix misc lint errors.
TBR=ben,brettw,oshima,rdsmith Review URL: https://chromiumcodereview.appspot.com/11087021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/message_pump_android.cc1
-rw-r--r--base/message_pump_android.h3
-rw-r--r--base/process_info.h3
-rw-r--r--base/sys_info.h1
-rw-r--r--base/threading/worker_pool_posix.h1
-rw-r--r--base/tracked_objects.h1
6 files changed, 5 insertions, 5 deletions
diff --git a/base/message_pump_android.cc b/base/message_pump_android.cc
index 29bf965..2f8206f 100644
--- a/base/message_pump_android.cc
+++ b/base/message_pump_android.cc
@@ -11,6 +11,7 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/run_loop.h"
+#include "base/time.h"
#include "jni/SystemMessageHandler_jni.h"
using base::android::ScopedJavaLocalRef;
diff --git a/base/message_pump_android.h b/base/message_pump_android.h
index 19157dd..10a5582 100644
--- a/base/message_pump_android.h
+++ b/base/message_pump_android.h
@@ -9,10 +9,11 @@
#include "base/compiler_specific.h"
#include "base/message_pump.h"
-#include "base/time.h"
namespace base {
+
class RunLoop;
+class TimeTicks;
// This class implements a MessagePump needed for TYPE_UI MessageLoops on
// OS_ANDROID platform.
diff --git a/base/process_info.h b/base/process_info.h
index 204a947..429d4dc 100644
--- a/base/process_info.h
+++ b/base/process_info.h
@@ -7,10 +7,11 @@
#include "base/base_export.h"
#include "base/basictypes.h"
-#include "base/time.h"
namespace base {
+class Time;
+
// Vends information about the current process.
class BASE_EXPORT CurrentProcessInfo {
public:
diff --git a/base/sys_info.h b/base/sys_info.h
index e155285..475c5a8 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -10,7 +10,6 @@
#include "base/base_export.h"
#include "base/basictypes.h"
#include "base/file_path.h"
-#include "base/time.h"
#include "build/build_config.h"
namespace base {
diff --git a/base/threading/worker_pool_posix.h b/base/threading/worker_pool_posix.h
index 36e3f4bf..dd0ffb6 100644
--- a/base/threading/worker_pool_posix.h
+++ b/base/threading/worker_pool_posix.h
@@ -30,7 +30,6 @@
#include "base/basictypes.h"
#include "base/callback_forward.h"
#include "base/location.h"
-#include "base/time.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/pending_task.h"
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index ad9a6d0..13e1f75 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -18,7 +18,6 @@
#include "base/location.h"
#include "base/profiler/alternate_timer.h"
#include "base/profiler/tracked_time.h"
-#include "base/time.h"
#include "base/synchronization/lock.h"
#include "base/threading/thread_local_storage.h"
#include "base/tracking_info.h"