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

Unified Diff: components/tracing/trace_config_file.h

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 years, 3 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: components/tracing/trace_config_file.h
diff --git a/components/tracing/trace_config_file.h b/components/tracing/trace_config_file.h
index 6fafda97fc3da6aa35005027888fcd68976ffdff..863fee49b5bd25d65936d17aecaa363aeb54107d 100644
--- a/components/tracing/trace_config_file.h
+++ b/components/tracing/trace_config_file.h
@@ -81,7 +81,7 @@ class TRACING_EXPORT TraceConfigFile {
TraceConfigFile();
~TraceConfigFile();
- bool ParseTraceConfigFileContent(std::string content);
+ bool ParseTraceConfigFileContent(const std::string& content);
bool is_enabled_;
base::trace_event::TraceConfig trace_config_;

Powered by Google App Engine
This is Rietveld 408576698