summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 09:31:15 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 09:31:15 +0000
commit7bf730951345c5a49ae5fe2418ca3ab04f92ce28 (patch)
treea45e73e4544f3ed99b9bac406abaa24b9910e095 /chrome/common/extensions
parent37f39f0516108d8ecc308b5c5f3c06f0753b0038 (diff)
downloadchromium_src-7bf730951345c5a49ae5fe2418ca3ab04f92ce28.zip
chromium_src-7bf730951345c5a49ae5fe2418ca3ab04f92ce28.tar.gz
chromium_src-7bf730951345c5a49ae5fe2418ca3ab04f92ce28.tar.bz2
Headers cleanup in chrome/common
- reduce header dependencies - miscellanous cleanups (whitespace, explicit deps) Review URL: http://codereview.chromium.org/113945 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rw-r--r--chrome/common/extensions/extension.h3
-rw-r--r--chrome/common/extensions/extension_error_reporter.cc4
-rw-r--r--chrome/common/extensions/extension_error_reporter.h2
3 files changed, 5 insertions, 4 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index e099a7e..a92191c 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -7,18 +7,15 @@
#include <string>
#include <vector>
-#include <map>
#include "base/file_path.h"
#include "base/scoped_ptr.h"
-#include "base/string16.h"
#include "base/values.h"
#include "base/version.h"
#include "chrome/common/extensions/user_script.h"
#include "chrome/common/extensions/url_pattern.h"
#include "chrome/common/page_action.h"
#include "googleurl/src/gurl.h"
-#include "third_party/skia/include/core/SkColor.h"
// Represents a Chromium extension.
class Extension {
diff --git a/chrome/common/extensions/extension_error_reporter.cc b/chrome/common/extensions/extension_error_reporter.cc
index efc0aa0..442ed79 100644
--- a/chrome/common/extensions/extension_error_reporter.cc
+++ b/chrome/common/extensions/extension_error_reporter.cc
@@ -4,9 +4,13 @@
#include "chrome/common/extensions/extension_error_reporter.h"
+#include "build/build_config.h"
+
#if defined(OS_WIN)
#include "app/win_util.h"
#endif
+#include "base/logging.h"
+#include "base/message_loop.h"
#include "base/string_util.h"
// No AddRef required when using ExtensionErrorReporter with RunnableMethod.
diff --git a/chrome/common/extensions/extension_error_reporter.h b/chrome/common/extensions/extension_error_reporter.h
index 347f7d6..aa17205 100644
--- a/chrome/common/extensions/extension_error_reporter.h
+++ b/chrome/common/extensions/extension_error_reporter.h
@@ -8,7 +8,7 @@
#include <string>
#include <vector>
-#include "base/message_loop.h"
+class MessageLoop;
// Exposes an easy way for the various components of the extension system to
// report errors. This is a singleton that lives on the UI thread, with the