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

Side by Side Diff: chrome/browser/safe_browsing/download_feedback_service.cc

Issue 2161193003: Use __func__ instead of __FUNCTION__. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/safe_browsing/download_feedback_service.h" 5 #include "chrome/browser/safe_browsing/download_feedback_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 ping_request, ping_response)); 193 ping_request, ping_response));
194 active_feedback_.push(std::move(feedback)); 194 active_feedback_.push(std::move(feedback));
195 UMA_HISTOGRAM_COUNTS_100("SBDownloadFeedback.ActiveFeedbacks", 195 UMA_HISTOGRAM_COUNTS_100("SBDownloadFeedback.ActiveFeedbacks",
196 active_feedback_.size()); 196 active_feedback_.size());
197 197
198 if (active_feedback_.size() == 1) 198 if (active_feedback_.size() == 1)
199 StartPendingFeedback(); 199 StartPendingFeedback();
200 } 200 }
201 201
202 void DownloadFeedbackService::FeedbackComplete() { 202 void DownloadFeedbackService::FeedbackComplete() {
203 DVLOG(1) << __FUNCTION__; 203 DVLOG(1) << __func__;
204 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 204 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
205 DCHECK(!active_feedback_.empty()); 205 DCHECK(!active_feedback_.empty());
206 active_feedback_.pop(); 206 active_feedback_.pop();
207 if (!active_feedback_.empty()) 207 if (!active_feedback_.empty())
208 StartPendingFeedback(); 208 StartPendingFeedback();
209 } 209 }
210 210
211 } // namespace safe_browsing 211 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/download_feedback.cc ('k') | chrome/browser/safe_browsing/download_protection_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698