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

Unified Diff: chrome/browser/webdata/web_data_service.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: Rename to use "ServiceDefaults" as the method subject. 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
« no previous file with comments | « chrome/browser/intents/web_intents_registry_unittest.cc ('k') | chrome/browser/webdata/web_data_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_data_service.h
diff --git a/chrome/browser/webdata/web_data_service.h b/chrome/browser/webdata/web_data_service.h
index 3f72dfe760e06bc55cc020a01f13758e47f75aa9..4e87e325f6b6066cc6add9969ddc001437132c9f 100644
--- a/chrome/browser/webdata/web_data_service.h
+++ b/chrome/browser/webdata/web_data_service.h
@@ -401,7 +401,11 @@ class WebDataService : public RefcountedProfileKeyedService {
// the |action|, |type|, and |url_pattern| of |service|.
void RemoveDefaultWebIntentService(const DefaultWebIntentService& service);
- // Get a list of all web intent service defaults for the given |action|.
+ // Removes all default web intent service entries associated with
+ // |service_url|
+ void RemoveWebIntentServiceDefaults(const GURL& service_url);
+
+ // Get a list of all web intent service defaults for the given |action|.
// |consumer| must not be null.
Handle GetDefaultWebIntentServicesForAction(const string16& action,
WebDataServiceConsumer* consumer);
@@ -410,7 +414,6 @@ class WebDataService : public RefcountedProfileKeyedService {
// |consumer| must not be null.
Handle GetAllDefaultWebIntentServices(WebDataServiceConsumer* consumer);
-
//////////////////////////////////////////////////////////////////////////////
//
// Token Service
@@ -629,6 +632,7 @@ class WebDataService : public RefcountedProfileKeyedService {
GenericRequest<DefaultWebIntentService>* request);
void RemoveDefaultWebIntentServiceImpl(
GenericRequest<DefaultWebIntentService>* request);
+ void RemoveWebIntentServiceDefaultsImpl(GenericRequest<GURL>* request);
void GetDefaultWebIntentServicesForActionImpl(
GenericRequest<string16>* request);
void GetAllDefaultWebIntentServicesImpl(GenericRequest<std::string>* request);
« no previous file with comments | « chrome/browser/intents/web_intents_registry_unittest.cc ('k') | chrome/browser/webdata/web_data_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698