Cleanup: Pass std::string as const reference from ash/ + minor coding style changes in base/
Passing std::string by reference can prevent extra copying of object.
BUG=367418
TEST=
R=derat@chromium.org,sky@chromium.org,mark@chromium.org,stevenjb@chromium.org
Review URL: https://codereview.chromium.org/1352613004
Cr-Commit-Position: refs/heads/master@{#350593}
CrOS-Libchrome-Original-Commit: b6cbc047deeaf616ec2181f270fff6eaf0eb3443
diff --git a/base/logging.h b/base/logging.h
index f91d174..f495118 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -806,7 +806,7 @@
// A non-macro interface to the log facility; (useful
// when the logging level is not a compile-time constant).
-inline void LogAtLevel(int const log_level, std::string const &msg) {
+inline void LogAtLevel(int log_level, const std::string& msg) {
LogMessage(__FILE__, __LINE__, log_level).stream() << msg;
}