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

Unified Diff: chrome/browser/chromeos/feedback_util.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 | « no previous file | chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/feedback_util.cc
diff --git a/chrome/browser/chromeos/feedback_util.cc b/chrome/browser/chromeos/feedback_util.cc
index 18e7e5de9c59304b6a0880fd5d8ea3f4da0552f0..489301fc32d86d5b5ac517f88fe0bafb10bb32df 100644
--- a/chrome/browser/chromeos/feedback_util.cc
+++ b/chrome/browser/chromeos/feedback_util.cc
@@ -34,9 +34,9 @@ void OnGetSystemInformation(Profile* profile,
scoped_ptr<FeedbackData::SystemLogsMap> sys_logs(
new FeedbackData::SystemLogsMap);
- for (extensions::SystemInformationList::const_iterator it = sys_info.begin();
- it != sys_info.end(); ++it) {
- (*sys_logs.get())[it->get()->key] = it->get()->value;
+ for (const extensions::api::feedback_private::SystemInformation& info :
+ sys_info) {
+ (*sys_logs.get())[info.key] = info.value;
}
feedback_data->SetAndCompressSystemInfo(std::move(sys_logs));
« no previous file with comments | « no previous file | chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698