| Index: chrome/browser/chrome_content_browser_client.cc
|
| ===================================================================
|
| --- chrome/browser/chrome_content_browser_client.cc (revision 92179)
|
| +++ chrome/browser/chrome_content_browser_client.cc (working copy)
|
| @@ -282,9 +282,11 @@
|
| }
|
|
|
| // Disable client-side phishing detection in the renderer if it is disabled
|
| - // in the browser process.
|
| - if (!g_browser_process->safe_browsing_detection_service())
|
| + // in the Profile preferences or the browser process.
|
| + if (!prefs->GetBoolean(prefs::kSafeBrowsingEnabled) ||
|
| + !g_browser_process->safe_browsing_detection_service()) {
|
| command_line->AppendSwitch(switches::kDisableClientSidePhishingDetection);
|
| + }
|
|
|
| static const char* const kSwitchNames[] = {
|
| switches::kAllowHTTPBackgroundPage,
|
|
|