Commit 23a30e61 authored by sgurun@chromium.org's avatar sgurun@chromium.org

Enable Mobile Safe Browsing for Android.

BUG=158341


Review URL: https://chromiumcodereview.appspot.com/11308274

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170649 0039d316-1c4b-4281-b951-d872f2087c98
parent c88e856b
...@@ -1088,7 +1088,7 @@ ...@@ -1088,7 +1088,7 @@
'proprietary_codecs%': '<(proprietary_codecs)', 'proprietary_codecs%': '<(proprietary_codecs)',
'enable_task_manager%': 0, 'enable_task_manager%': 0,
'safe_browsing%': 0, 'safe_browsing%': 2,
'configuration_policy%': 0, 'configuration_policy%': 0,
'input_speech%': 0, 'input_speech%': 0,
'enable_web_intents%': 0, 'enable_web_intents%': 0,
......
...@@ -294,8 +294,8 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles( ...@@ -294,8 +294,8 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles(
content::ResourceThrottle* throttle = content::ResourceThrottle* throttle =
SafeBrowsingResourceThrottleFactory::Create(request, child_id, route_id, SafeBrowsingResourceThrottleFactory::Create(request, child_id, route_id,
is_subresource_request, safe_browsing_); is_subresource_request, safe_browsing_);
DCHECK(throttle); if (throttle)
throttles->push_back(throttle); throttles->push_back(throttle);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment