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

Unified Diff: chrome/test/base/testing_profile.h

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Respond to review comments. Fit and finish. Created 8 years, 6 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/test/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index ff9bf7ba4c789fc008246a1e6bcc3f518660f223..9895eee90802358fa735159e9136c55251593798 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -213,7 +213,6 @@ class TestingProfile : public Profile {
virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
virtual void MarkAsCleanShutdown() OVERRIDE {}
virtual void InitPromoResources() OVERRIDE {}
- virtual void InitRegisteredProtocolHandlers() OVERRIDE {}
virtual FilePath last_selected_directory() OVERRIDE;
virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
@@ -270,7 +269,7 @@ class TestingProfile : public Profile {
// The ProtocolHandlerRegistry. Only created if CreateProtocolHandlerRegistry
// is invoked.
- scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
+ ProtocolHandlerRegistry* protocol_handler_registry_;
// The AutocompleteClassifier. Only created if CreateAutocompleteClassifier
// is invoked.

Powered by Google App Engine
This is Rietveld 408576698