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

Unified Diff: chrome/browser/ui/webui/options/intents_settings_handler.cc

Issue 7930002: Rename WebIntentData for backend storage to WebIntentServiceData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/ui/webui/options/intents_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/intents_settings_handler.cc b/chrome/browser/ui/webui/options/intents_settings_handler.cc
index d473f76479cd72a5b62c23be86b5e2d9423b898e..aadb80c6a3e44d04a2895c0fc41f04cb8acb1dc4 100644
--- a/chrome/browser/ui/webui/options/intents_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/intents_settings_handler.cc
@@ -115,17 +115,17 @@ void IntentsSettingsHandler::RemoveOrigin(IntentsTreeNode* node) {
}
void IntentsSettingsHandler::RemoveService(ServiceTreeNode* snode) {
- WebIntentData provider;
- provider.service_url = GURL(snode->ServiceUrl());
- provider.action = snode->Action();
+ WebIntentServiceData service;
+ service.service_url = GURL(snode->ServiceUrl());
+ service.action = snode->Action();
string16 stype;
if (snode->Types().GetString(0, &stype)) {
- provider.type = stype; // Really need to iterate here.
+ service.type = stype; // Really need to iterate here.
}
- provider.title = snode->ServiceName();
+ service.title = snode->ServiceName();
LOG(INFO) << "Removing service " << snode->ServiceName()
<< " " << snode->ServiceUrl();
- web_intents_registry_->UnregisterIntentProvider(provider);
+ web_intents_registry_->UnregisterIntentProvider(service);
delete intents_tree_model_->Remove(snode->parent(), snode);
}

Powered by Google App Engine
This is Rietveld 408576698