summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-28 14:49:35 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-28 14:49:35 +0000
commit46072d4992a146537bc4979caa8c2457de229b7a (patch)
tree25132302812acfcbd54d77fcb7f01e2faa7f3be4 /chrome/common
parent571fe6169fed59816435c48f607b78a314d920a9 (diff)
downloadchromium_src-46072d4992a146537bc4979caa8c2457de229b7a.zip
chromium_src-46072d4992a146537bc4979caa8c2457de229b7a.tar.gz
chromium_src-46072d4992a146537bc4979caa8c2457de229b7a.tar.bz2
Try to cut down on some unnecessary dependencies. Remove any unused includes of gurl.h in header files, and forward declare GURL where possible.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/gfx/url_elider.cc1
-rw-r--r--chrome/common/gfx/url_elider.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/gfx/url_elider.cc b/chrome/common/gfx/url_elider.cc
index cd64b29..5ffdfe4 100644
--- a/chrome/common/gfx/url_elider.cc
+++ b/chrome/common/gfx/url_elider.cc
@@ -34,6 +34,7 @@
#include "chrome/common/pref_service.h"
#include "chrome/views/hwnd_view_container.h"
#include "chrome/views/label.h"
+#include "googleurl/src/gurl.h"
#include "net/base/escape.h"
#include "net/base/net_util.h"
#include "net/base/registry_controlled_domain.h"
diff --git a/chrome/common/gfx/url_elider.h b/chrome/common/gfx/url_elider.h
index afa8a1c..401c122 100644
--- a/chrome/common/gfx/url_elider.h
+++ b/chrome/common/gfx/url_elider.h
@@ -34,7 +34,8 @@
#include "base/basictypes.h"
#include "chrome/common/gfx/chrome_font.h"
-#include "googleurl/src/gurl.h"
+
+class GURL;
namespace gfx {