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

Unified Diff: chrome/browser/local_discovery/privet_url_fetcher_unittest.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/local_discovery/privet_url_fetcher_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc b/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
index 75dd5fcbc657c38fcb3167441c84796f89f7315b..c2940aa6442bf6bbc52ddbbe3ee522938038fab7 100644
--- a/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
+++ b/chrome/browser/local_discovery/privet_url_fetcher_unittest.cc
@@ -71,7 +71,7 @@ class MockPrivetURLFetcherDelegate : public PrivetURLFetcher::Delegate {
return true;
}
- MOCK_METHOD1(OnRawDataInternal, void(std::string data));
+ MOCK_METHOD1(OnRawDataInternal, void(const std::string& data));
MOCK_METHOD0(OnFileInternal, void());

Powered by Google App Engine
This is Rietveld 408576698