| Index: chrome/browser/intents/web_intents_registry.cc
|
| diff --git a/chrome/browser/intents/web_intents_registry.cc b/chrome/browser/intents/web_intents_registry.cc
|
| index 0e59ebff0aec13bc3713c7f478da46450d553a31..700c2ca66f7c836ea29d4f2505583d6c359bf9a0 100644
|
| --- a/chrome/browser/intents/web_intents_registry.cc
|
| +++ b/chrome/browser/intents/web_intents_registry.cc
|
| @@ -48,8 +48,8 @@ void WebIntentsRegistry::OnWebDataServiceRequestDone(
|
| queries_.erase(it);
|
|
|
| // TODO(groby): Filtering goes here.
|
| - std::vector<WebIntentData> intents = static_cast<
|
| - const WDResult<std::vector<WebIntentData> >*>(result)->GetValue();
|
| + std::vector<WebIntentServiceData> intents = static_cast<
|
| + const WDResult<std::vector<WebIntentServiceData> >*>(result)->GetValue();
|
|
|
| query->consumer_->OnIntentsQueryDone(query->query_id_, intents);
|
| delete query;
|
| @@ -84,12 +84,14 @@ WebIntentsRegistry::QueryID WebIntentsRegistry::GetAllIntentProviders(
|
| return query->query_id_;
|
| }
|
|
|
| -void WebIntentsRegistry::RegisterIntentProvider(const WebIntentData& intent) {
|
| +void WebIntentsRegistry::RegisterIntentProvider(
|
| + const WebIntentServiceData& service) {
|
| DCHECK(wds_.get());
|
| - wds_->AddWebIntent(intent);
|
| + wds_->AddWebIntent(service);
|
| }
|
|
|
| -void WebIntentsRegistry::UnregisterIntentProvider(const WebIntentData& intent) {
|
| +void WebIntentsRegistry::UnregisterIntentProvider(
|
| + const WebIntentServiceData& service) {
|
| DCHECK(wds_.get());
|
| - wds_->RemoveWebIntent(intent);
|
| + wds_->RemoveWebIntent(service);
|
| }
|
|
|