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

Unified Diff: chrome/browser/chromeos/login/kiosk_browsertest.cc

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: chrome/browser/chromeos/login/kiosk_browsertest.cc
diff --git a/chrome/browser/chromeos/login/kiosk_browsertest.cc b/chrome/browser/chromeos/login/kiosk_browsertest.cc
index e8b1dc7e243dab061ad607fa34dbebab12b757a9..65554420ff368704d86f26f5228df0f6a9af76fe 100644
--- a/chrome/browser/chromeos/login/kiosk_browsertest.cc
+++ b/chrome/browser/chromeos/login/kiosk_browsertest.cc
@@ -198,7 +198,7 @@ void LockAndUnlock(scoped_ptr<base::Lock> lock) {
lock->Release();
}
-bool IsAppInstalled(const std::string app_id) {
+bool IsAppInstalled(const std::string& app_id) {
Profile* app_profile = ProfileManager::GetPrimaryUserProfile();
DCHECK(app_profile);
const extensions::Extension* app =
@@ -1353,7 +1353,7 @@ class KioskUpdateTest : public KioskTest {
EXPECT_EQ(version, cached_version);
}
- void SetupFakeDiskMountManagerMountPath(const std::string mount_path) {
+ void SetupFakeDiskMountManagerMountPath(const std::string& mount_path) {
base::FilePath test_data_dir;
PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir);
test_data_dir = test_data_dir.AppendASCII(mount_path);

Powered by Google App Engine
This is Rietveld 408576698