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

Unified Diff: chrome/browser/prerender/prerender_test_utils.cc

Issue 2623033006: [Re-landing] Migrate external protocol prefs from local state to profiles (Closed)
Patch Set: a Created 3 years, 11 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
Index: chrome/browser/prerender/prerender_test_utils.cc
diff --git a/chrome/browser/prerender/prerender_test_utils.cc b/chrome/browser/prerender/prerender_test_utils.cc
index 0a844c8e42e8c7693ecb5c31cdb9e542e3e32fd1..00871e8df3ed49fb46ca8e9afd901d0d869abae3 100644
--- a/chrome/browser/prerender/prerender_test_utils.cc
+++ b/chrome/browser/prerender/prerender_test_utils.cc
@@ -225,7 +225,7 @@ class NeverRunsExternalProtocolHandlerDelegate
}
ExternalProtocolHandler::BlockState GetBlockState(
- const std::string& scheme) override {
+ const std::string& scheme, Profile* profile) override {
// Block everything and fail the test.
ADD_FAILURE();
return ExternalProtocolHandler::BLOCK;

Powered by Google App Engine
This is Rietveld 408576698