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

Unified Diff: testing/multiprocess_func_list.h

Issue 2001093008: Cleanup: Pass std::string as const reference from testing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | testing/multiprocess_func_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/multiprocess_func_list.h
diff --git a/testing/multiprocess_func_list.h b/testing/multiprocess_func_list.h
index f806d53c935b467944ebf216067e3376208eed0d..c3d2f1f7339c3af1166652760ca35018e0c99226 100644
--- a/testing/multiprocess_func_list.h
+++ b/testing/multiprocess_func_list.h
@@ -47,7 +47,7 @@ class AppendMultiProcessTest {
// Invoke the main function of a test previously registered with
// MULTIPROCESS_TEST_MAIN()
-int InvokeChildProcessTest(std::string test_name);
+int InvokeChildProcessTest(const std::string& test_name);
// This macro creates a global MultiProcessTest::AppendMultiProcessTest object
// whose constructor does the work of adding the global mapping.
« no previous file with comments | « no previous file | testing/multiprocess_func_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698