Revert "Enable positional parameters for base::vsnprintf and base::vswprintf on Windows."
commitc0107ee59bdb5b6337f7bbdb4e8210c0bfeb547b
authorthakis <thakis@chromium.org>
Fri, 6 Feb 2015 03:42:14 +0000 (5 19:42 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 6 Feb 2015 03:44:25 +0000 (6 03:44 +0000)
tree60e81dabaf818666ecb5940227b6b184e827b0ab
parent8a0f4e28e2030d0a6ad09b68311efc428cc48ce6
Revert "Enable positional parameters for base::vsnprintf and base::vswprintf on Windows."

This reverts r127788.  Positional parameters aren't part of the C standard
(they are part of POSIX though), we don't really use them in the codebase,
and they don't work in chrome/android with libc++.  Rather
than have a test for them, make them also not work on Windows (like they
originally didn't) -- we shouldn't use positional printf parameters anyways.

Change the 5 uses to not use positional parameters.

BUG=118064,117028,427718

Review URL: https://codereview.chromium.org/902643002

Cr-Commit-Position: refs/heads/master@{#314963}
base/strings/string_util_win.h
base/strings/stringprintf_unittest.cc
chrome/installer/setup/install.cc
extensions/browser/api/printer_provider/printer_provider_apitest.cc
remoting/host/ipc_util_win.cc
remoting/host/setup/me2me_native_messaging_host.cc
remoting/host/win/unprivileged_process_delegate.cc