diff options
author | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 21:39:18 +0000 |
---|---|---|
committer | limasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 21:39:18 +0000 |
commit | 0bb29bdceb67aab9bb19599380938d2cd6f60306 (patch) | |
tree | 31d0cf193a376cc923df2069c39c0e8c292b0d4a /chrome/browser/extensions/app_process_apitest.cc | |
parent | f32f8dc82e312385ed388267e5606c56110dc726 (diff) | |
download | chromium_src-0bb29bdceb67aab9bb19599380938d2cd6f60306.zip chromium_src-0bb29bdceb67aab9bb19599380938d2cd6f60306.tar.gz chromium_src-0bb29bdceb67aab9bb19599380938d2cd6f60306.tar.bz2 |
cleanup: pass string as const reference from c/b/extension
BUG=367418
Review URL: https://codereview.chromium.org/257803002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/app_process_apitest.cc')
-rw-r--r-- | chrome/browser/extensions/app_process_apitest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/app_process_apitest.cc b/chrome/browser/extensions/app_process_apitest.cc index 235b11d..af6e337 100644 --- a/chrome/browser/extensions/app_process_apitest.cc +++ b/chrome/browser/extensions/app_process_apitest.cc @@ -46,7 +46,7 @@ class AppApiTest : public ExtensionApiTest { // Gets the base URL for files for a specific test, making sure that it uses // "localhost" as the hostname, since that is what the extent is declared // as in the test apps manifests. - GURL GetTestBaseURL(std::string test_directory) { + GURL GetTestBaseURL(const std::string& test_directory) { GURL::Replacements replace_host; std::string host_str("localhost"); // must stay in scope with replace_host replace_host.SetHostStr(host_str); @@ -66,7 +66,7 @@ class AppApiTest : public ExtensionApiTest { // Helper function to test that independent tabs of the named app are loaded // into separate processes. - void TestAppInstancesHelper(std::string app_name) { + void TestAppInstancesHelper(const std::string& app_name) { LOG(INFO) << "Start of test."; extensions::ProcessMap* process_map = |