diff options
| author | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-28 14:49:35 +0000 |
|---|---|---|
| committer | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-28 14:49:35 +0000 |
| commit | 46072d4992a146537bc4979caa8c2457de229b7a (patch) | |
| tree | 25132302812acfcbd54d77fcb7f01e2faa7f3be4 /chrome/browser/safe_browsing | |
| parent | 571fe6169fed59816435c48f607b78a314d920a9 (diff) | |
| download | chromium_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/browser/safe_browsing')
4 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_database.cc b/chrome/browser/safe_browsing/safe_browsing_database.cc index 9e7c223..1def4a3 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database.cc @@ -38,6 +38,7 @@ #include "chrome/browser/safe_browsing/chunk_range.h" #include "chrome/common/sqlite_compiled_statement.h" #include "chrome/common/sqlite_utils.h" +#include "googleurl/src/gurl.h" // Database version. If this is different than what's stored on disk, the // database is reset. diff --git a/chrome/browser/safe_browsing/safe_browsing_database.h b/chrome/browser/safe_browsing/safe_browsing_database.h index 0dbe5a9..3f46724 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.h +++ b/chrome/browser/safe_browsing/safe_browsing_database.h @@ -41,9 +41,9 @@ #include "chrome/browser/safe_browsing/safe_browsing_util.h" #include "chrome/common/sqlite_compiled_statement.h" #include "chrome/common/sqlite_utils.h" -#include "googleurl/src/gurl.h" class BloomFilter; +class GURL; // Encapsulates the database that stores information about phishing and malware // sites. There is one on-disk database for all profiles, as it doesn't @@ -319,4 +319,4 @@ class SafeBrowsingDatabase { DISALLOW_EVIL_CONSTRUCTORS(SafeBrowsingDatabase); }; -#endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H__
\ No newline at end of file +#endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H__ diff --git a/chrome/browser/safe_browsing/safe_browsing_util.cc b/chrome/browser/safe_browsing/safe_browsing_util.cc index 53339a1e..802d5ff 100644 --- a/chrome/browser/safe_browsing/safe_browsing_util.cc +++ b/chrome/browser/safe_browsing/safe_browsing_util.cc @@ -34,6 +34,7 @@ #include "base/sha2.h" #include "base/string_util.h" #include "chrome/browser/google_util.h" +#include "googleurl/src/gurl.h" #include "net/base/base64.h" #include "net/base/escape.h" #include "unicode/locid.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_util.h b/chrome/browser/safe_browsing/safe_browsing_util.h index b1b8151..1d98805 100644 --- a/chrome/browser/safe_browsing/safe_browsing_util.h +++ b/chrome/browser/safe_browsing/safe_browsing_util.h @@ -38,7 +38,8 @@ #include "base/scoped_ptr.h" #include "chrome/browser/safe_browsing/chunk_range.h" -#include "googleurl/src/gurl.h" + +class GURL; //#define SB_LOGGING_ENABLED #ifdef SB_LOGGING_ENABLED |
