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

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

Issue 10584042: Bring up a content settings icon for ungestured registerProtocolHandler call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Repair merge to head 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 ceba5cdea9ba264144f4a47e4e28d027d928cdc7..10672f61a0677c0cb16e0c0d5fbcaf1f0c1d34f3 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -12,6 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/scoped_temp_dir.h"
#include "base/timer.h"
+#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
#include "chrome/browser/profiles/profile.h"
namespace content {
@@ -98,6 +99,10 @@ class TestingProfile : public Profile {
// registry is NULL.
void CreateProtocolHandlerRegistry();
+ // Creates a ProtocolHandlerRegistry with the provided delegate.
+ void CreateProtocolHandlerRegistry(
+ ProtocolHandlerRegistry::Delegate* delegate);
+
// Creates a WebDataService. If not invoked, the web data service is NULL.
void CreateWebDataService();

Powered by Google App Engine
This is Rietveld 408576698