Unify infobars' link-opening behavior to respect user-requested dispositions and append the Google locale param (since all these links are opening Google pages).
This also fixes an incorrect "&" (should be "&") that I assume is a holdover from the string in question formerly being in generated_resources.grd.
Randomly, this also removes some unnecessary .c_str() calls in logging_chrome.cc.
BUG=none
TEST=Middle-clicking "Learn more" on any applicable infobar should open the link in a new background tab.
Review URL: http://codereview.chromium.org/7545021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95025 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
index a5f168a..797ffa7 100644
--- a/chrome/common/logging_chrome.cc
+++ b/chrome/common/logging_chrome.cc
@@ -401,9 +401,9 @@
scoped_ptr<base::Environment> env(base::Environment::Create());
if (env->GetVar(env_vars::kLogFileName, &filename) && !filename.empty()) {
#if defined(OS_WIN)
- return FilePath(UTF8ToWide(filename).c_str());
+ return FilePath(UTF8ToWide(filename));
#elif defined(OS_POSIX)
- return FilePath(filename.c_str());
+ return FilePath(filename);
#endif
}