diff options
author | torne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-11 10:22:56 +0000 |
---|---|---|
committer | torne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-11 10:22:56 +0000 |
commit | 4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0 (patch) | |
tree | d39faabd90d2e98f7dd60b2988fa1352918fa883 /chrome/browser/bug_report_util.cc | |
parent | 60b5f5aaeb21d77915310c9ba219d9d289818421 (diff) | |
download | chromium_src-4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0.zip chromium_src-4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0.tar.gz chromium_src-4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0.tar.bz2 |
Make safe browsing optional at compile time.
Introduce a gyp variable "safe_browsing" which can be set to 0 to remove
safe browsing code at compile time.
Review URL: http://codereview.chromium.org/7227013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bug_report_util.cc')
-rw-r--r-- | chrome/browser/bug_report_util.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/bug_report_util.cc b/chrome/browser/bug_report_util.cc index 227f427..948e46a 100644 --- a/chrome/browser/bug_report_util.cc +++ b/chrome/browser/bug_report_util.cc @@ -373,6 +373,7 @@ void BugReportUtil::SendReport(Profile* profile, DispatchFeedback(profile, post_body, 0); } +#if defined(ENABLE_SAFE_BROWSING) // static void BugReportUtil::ReportPhishing(TabContents* currentTab, const std::string& phishing_url) { @@ -383,3 +384,4 @@ void BugReportUtil::ReportPhishing(TabContents* currentTab, GURL(), PageTransition::LINK); } +#endif |