Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc

Issue 2623033006: [Re-landing] Migrate external protocol prefs from local state to profiles (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_site_per_process_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc b/chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
index bf15ceb6ff573ac5259b38747962acdafa1337b7..1cea9df96c7f08dc60c55e87f1b01d0f4344a9d7 100644
--- a/chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
+++ b/chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
@@ -45,7 +45,7 @@ ChromeAutocompleteSchemeClassifier::GetInputTypeForScheme(
// external protocol handler because we don't want pages to open them, but
// users still can.
const ExternalProtocolHandler::BlockState block_state =
- ExternalProtocolHandler::GetBlockState(scheme);
+ ExternalProtocolHandler::GetBlockState(scheme, profile_);
switch (block_state) {
case ExternalProtocolHandler::DONT_BLOCK:
return metrics::OmniboxInputType::URL;
« no previous file with comments | « no previous file | chrome/browser/chrome_site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698