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

Unified Diff: chrome/browser/intents/web_intents_registry.h

Issue 10824212: Add support for unregistering web intents default by service_url. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Do test setup verification prior to verifying remove/unregister support. Created 8 years, 4 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/intents/web_intents_registry.h
diff --git a/chrome/browser/intents/web_intents_registry.h b/chrome/browser/intents/web_intents_registry.h
index 404d6822f46ba67100d0d3252eeff1dabfbd35b4..b5fd6aacf0c1d240b11a4dcbaee9fa9eb86c5972 100644
--- a/chrome/browser/intents/web_intents_registry.h
+++ b/chrome/browser/intents/web_intents_registry.h
@@ -95,6 +95,10 @@ class WebIntentsRegistry : public ProfileKeyedService {
virtual void UnregisterDefaultIntentService(
const DefaultWebIntentService& default_service);
+ // Delete all default service entries associated with |service_url|.
+ virtual void UnregisterDefaultIntentServicesForServiceURL(
James Hawkins 2012/08/08 16:22:37 nit: This name is a bit unwieldy; my suggestion:
Steve McKay 2012/08/08 17:54:42 Since a default service has both a url pattern and
+ const GURL& service_url);
+
// Requests the best default intent service for the given invocation
// parameters.
// |callback| must not be null.
« no previous file with comments | « no previous file | chrome/browser/intents/web_intents_registry.cc » ('j') | chrome/browser/intents/web_intents_registry_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698