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

Unified Diff: chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc

Issue 1822303002: [Extensions] Convert APIs to use movable types [4] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Istiaque's Created 4 years, 9 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/chromeos/feedback_util.cc ('k') | chrome/browser/extensions/api/dial/dial_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc
diff --git a/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc b/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc
index 887bec730ba801e134312d17a7cbc27a35c4bae9..64a9369294dccfb5e9312174e92bebfbe9796c96 100644
--- a/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc
+++ b/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc
@@ -241,11 +241,11 @@ void DashboardPrivateShowPermissionPromptForDelegatedBundleInstallFunction::
BundleInstaller::ItemList items;
for (const auto& entry : params_->contents) {
BundleInstaller::Item item;
- item.id = entry->id;
- item.manifest = entry->manifest;
- item.localized_name = entry->localized_name;
- if (entry->icon_url)
- item.icon_url = source_url().Resolve(*entry->icon_url);
+ item.id = entry.id;
+ item.manifest = entry.manifest;
+ item.localized_name = entry.localized_name;
+ if (entry.icon_url)
+ item.icon_url = source_url().Resolve(*entry.icon_url);
items.push_back(item);
}
if (items.empty()) {
« no previous file with comments | « chrome/browser/chromeos/feedback_util.cc ('k') | chrome/browser/extensions/api/dial/dial_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698