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

Unified Diff: chrome/test/chromedriver/chrome/automation_extension.h

Issue 1358783002: Cleanup: Pass std::string as const reference from chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against ToT 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
« no previous file with comments | « chrome/test/chromedriver/capabilities.cc ('k') | chrome/test/chromedriver/chrome/automation_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome/automation_extension.h
diff --git a/chrome/test/chromedriver/chrome/automation_extension.h b/chrome/test/chromedriver/chrome/automation_extension.h
index c431e5a488251bb52ef023d53ead48bb7534a5b2..6c27a1708074f281bda6353fcf4fed129ddc97b0 100644
--- a/chrome/test/chromedriver/chrome/automation_extension.h
+++ b/chrome/test/chromedriver/chrome/automation_extension.h
@@ -28,7 +28,7 @@ class AutomationExtension {
Status CaptureScreenshot(std::string* screenshot);
// Launches an app with the specified id.
- Status LaunchApp(std::string id);
+ Status LaunchApp(const std::string& id);
// Gets the position of the current window.
Status GetWindowPosition(int* x, int* y);
« no previous file with comments | « chrome/test/chromedriver/capabilities.cc ('k') | chrome/test/chromedriver/chrome/automation_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698