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

Unified Diff: chrome/browser/media_galleries/media_galleries_scan_result_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/media_galleries/media_galleries_scan_result_controller.h
diff --git a/chrome/browser/media_galleries/media_galleries_scan_result_controller.h b/chrome/browser/media_galleries/media_galleries_scan_result_controller.h
index b918dddda8dc0d43b75de976143fcb4e13872003..efacc9de16da863c18034a11019741ecd9fa698e 100644
--- a/chrome/browser/media_galleries/media_galleries_scan_result_controller.h
+++ b/chrome/browser/media_galleries/media_galleries_scan_result_controller.h
@@ -102,7 +102,7 @@ class MediaGalleriesScanResultController
void OnPreferenceUpdate(const std::string& extension_id);
// Used to keep the dialog in sync with attached and detached devices.
- void OnRemovableDeviceUpdate(const std::string device_id);
+ void OnRemovableDeviceUpdate(const std::string& device_id);
Profile* GetProfile() const;

Powered by Google App Engine
This is Rietveld 408576698