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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 2447773003: Use a const reference in IntentPickerResponse (Closed)
Patch Set: fix tests Created 4 years, 2 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/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index 0bc1b7e8700030e286936e264bc378e7b8a21eee..07c70ee199b46d73f5e1c5f34ee58a07dec4762e 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -180,7 +180,8 @@ class ContentSettingBubbleViewsBridge {
// these cases we return a dummy value which won't be used at all and has no
// significance.
using IntentPickerResponse =
- base::Callback<void(std::string, arc::ArcNavigationThrottle::CloseReason)>;
+ base::Callback<void(const std::string&,
+ arc::ArcNavigationThrottle::CloseReason)>;
// Return a pointer to the IntentPickerBubbleView::ShowBubble method.
using BubbleShowPtr =
« no previous file with comments | « chrome/browser/chromeos/arc/arc_navigation_throttle.cc ('k') | chrome/browser/ui/views/intent_picker_bubble_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698