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

Unified Diff: chrome/installer/util/user_experiment.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, 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/installer/util/user_experiment.cc
diff --git a/chrome/installer/util/user_experiment.cc b/chrome/installer/util/user_experiment.cc
index 7ca824c48ba2c0ff687dc6250411a2a8c1b3679b..9600516544590b4662ba0b18b3b13d0d9bad417e 100644
--- a/chrome/installer/util/user_experiment.cc
+++ b/chrome/installer/util/user_experiment.cc
@@ -229,12 +229,12 @@ bool LaunchSetupAsConsoleUser(base::CommandLine* cmd_line) {
DWORD console_id = ::WTSGetActiveConsoleSessionId();
if (console_id == 0xFFFFFFFF) {
- PLOG(ERROR) << __FUNCTION__ << " failed to get active session id";
+ PLOG(ERROR) << __func__ << " failed to get active session id";
return false;
}
HANDLE user_token;
if (!::WTSQueryUserToken(console_id, &user_token)) {
- PLOG(ERROR) << __FUNCTION__ << " failed to get user token for console_id "
+ PLOG(ERROR) << __func__ << " failed to get user token for console_id "
<< console_id;
return false;
}
@@ -244,10 +244,10 @@ bool LaunchSetupAsConsoleUser(base::CommandLine* cmd_line) {
options.as_user = user_token;
options.inherit_handles = true;
options.empty_desktop_name = true;
- VLOG(1) << __FUNCTION__ << " launching " << cmd_line->GetCommandLineString();
+ VLOG(1) << __func__ << " launching " << cmd_line->GetCommandLineString();
base::Process process = base::LaunchProcess(*cmd_line, options);
::CloseHandle(user_token);
- VLOG(1) << __FUNCTION__ << " result: " << process.IsValid();
+ VLOG(1) << __func__ << " result: " << process.IsValid();
return process.IsValid();
}
« no previous file with comments | « chrome/installer/util/delete_after_reboot_helper.cc ('k') | components/component_updater/default_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698