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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.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: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 7cdf3a3d2a2a3a2994a31db246fc76491211223b..499b3786b6cb0552d1c6d96e1de63838d66ba1e4 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -352,7 +352,7 @@ class ChromeLauncherController
// Get the list of all tabs which belong to a certain application type.
std::vector<content::WebContents*> GetV1ApplicationsFromAppId(
- std::string app_id);
+ const std::string& app_id);
// Activates a specified shell application.
void ActivateShellApp(const std::string& app_id, int index);

Powered by Google App Engine
This is Rietveld 408576698