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

Unified Diff: content/shell/browser/shell.h

Issue 1354363002: Cleanup: Pass std::string as const reference from content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/shell/browser/shell.h
diff --git a/content/shell/browser/shell.h b/content/shell/browser/shell.h
index f6dfe1be0e6104bd0e0b6bbc54ad7cd1f394670b..d62dfb5b2c2d919ad02e23518bf4636afa4f01d0 100644
--- a/content/shell/browser/shell.h
+++ b/content/shell/browser/shell.h
@@ -100,7 +100,7 @@ class Shell : public WebContentsDelegate,
#if defined(OS_MACOSX)
// Public to be called by an ObjC bridge object.
void ActionPerformed(int control);
- void URLEntered(std::string url_string);
+ void URLEntered(const std::string& url_string);
#elif defined(OS_ANDROID)
// Registers the Android Java to native methods.
static bool Register(JNIEnv* env);
« no previous file with comments | « content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc ('k') | content/shell/browser/shell_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698