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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.cc

Issue 2172043002: chrome/browser/extensions: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/extensions/api/file_system/file_system_api.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
index f3c085237a5ed3e356d9d5476aac69cf5e7b0c01..63f80f2fbbfa9bac61692787a0ac1bc78fe9f7a6 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
@@ -461,7 +461,7 @@ bool ConsentProviderDelegate::IsAutoLaunched(const Extension& extension) {
bool ConsentProviderDelegate::IsWhitelistedComponent(
const Extension& extension) {
- for (const auto& whitelisted_id : kRequestFileSystemComponentWhitelist) {
+ for (auto* whitelisted_id : kRequestFileSystemComponentWhitelist) {
if (extension.id().compare(whitelisted_id) == 0)
return true;
}

Powered by Google App Engine
This is Rietveld 408576698