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

Unified Diff: ios/chrome/browser/ui/browser_view_controller.mm

Issue 2752643004: Stop showing snackbar with success message when sharing with Chrome iOS. (Closed)
Patch Set: Addressed comments. Created 3 years, 9 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: ios/chrome/browser/ui/browser_view_controller.mm
diff --git a/ios/chrome/browser/ui/browser_view_controller.mm b/ios/chrome/browser/ui/browser_view_controller.mm
index 32bc6f7e3a4089fbbfc9fabdf277b6dfc4630e54..fc0cf26a69d5bec53a34ce920516ed6580ee6dc8 100644
--- a/ios/chrome/browser/ui/browser_view_controller.mm
+++ b/ios/chrome/browser/ui/browser_view_controller.mm
@@ -4914,7 +4914,7 @@ class BrowserBookmarkModelBridge : public bookmarks::BookmarkModelObserver {
#pragma mark - ShareToDelegate methods
- (void)shareDidComplete:(ShareTo::ShareResult)shareStatus
- successMessage:(NSString*)message {
+ completionMessage:(NSString*)message {
// The shareTo dialog dismisses itself instead of through
// |-dismissViewControllerAnimated:completion:| so we must reset the
// presenting state here.
@@ -4949,7 +4949,7 @@ class BrowserBookmarkModelBridge : public bookmarks::BookmarkModelObserver {
- (void)passwordAppExDidFinish:(ShareTo::ShareResult)shareStatus
username:(NSString*)username
password:(NSString*)password
- successMessage:(NSString*)message {
+ completionMessage:(NSString*)message {
switch (shareStatus) {
case ShareTo::SHARE_SUCCESS: {
PasswordController* passwordController =
« no previous file with comments | « ios/chrome/browser/ui/activity_services/share_protocol.h ('k') | ios/chrome/browser/ui/browser_view_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698