summaryrefslogtreecommitdiffstats
path: root/base/timer
diff options
context:
space:
mode:
authormostynb@opera.com <mostynb@opera.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 23:29:12 +0000
committermostynb@opera.com <mostynb@opera.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-03 23:29:12 +0000
commitc014f2b3a4509e83b1fed576bebceadb392ae3fb (patch)
treef513690600e9bdc07d9dd1238c7662f435a580e1 /base/timer
parent2c9492bd57039784a0a7d54f4a8693f9afb38a28 (diff)
downloadchromium_src-c014f2b3a4509e83b1fed576bebceadb392ae3fb.zip
chromium_src-c014f2b3a4509e83b1fed576bebceadb392ae3fb.tar.gz
chromium_src-c014f2b3a4509e83b1fed576bebceadb392ae3fb.tar.bz2
test IWYU fixups for base
These are some of the suggestions from running include-what-you-use[1] on the base target. [1] https://code.google.com/p/include-what-you-use/ BUG=259043 Review URL: https://chromiumcodereview.appspot.com/23540009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/timer')
-rw-r--r--base/timer/timer.cc3
-rw-r--r--base/timer/timer.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/base/timer/timer.cc b/base/timer/timer.cc
index ff1c087..aafc01e 100644
--- a/base/timer/timer.cc
+++ b/base/timer/timer.cc
@@ -4,7 +4,10 @@
#include "base/timer/timer.h"
+#include <stddef.h>
+
#include "base/logging.h"
+#include "base/memory/ref_counted.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
#include "base/threading/platform_thread.h"
diff --git a/base/timer/timer.h b/base/timer/timer.h
index 23b1d3c..f952d41 100644
--- a/base/timer/timer.h
+++ b/base/timer/timer.h
@@ -50,6 +50,7 @@
// should be able to tell the difference.
#include "base/base_export.h"
+#include "base/basictypes.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
@@ -59,7 +60,6 @@
namespace base {
class BaseTimerTaskInternal;
-class MessageLoop;
//-----------------------------------------------------------------------------
// This class wraps MessageLoop::PostDelayedTask to manage delayed and repeating