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

Unified Diff: ios/chrome/browser/ui/activity_services/share_protocol.h

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/activity_services/share_protocol.h
diff --git a/ios/chrome/browser/ui/activity_services/share_protocol.h b/ios/chrome/browser/ui/activity_services/share_protocol.h
index dc88815abe9073e285ef3c92efbd74002c151d1b..b135248e22da6aa862aa637fff5d7039f57668b4 100644
--- a/ios/chrome/browser/ui/activity_services/share_protocol.h
+++ b/ios/chrome/browser/ui/activity_services/share_protocol.h
@@ -32,21 +32,21 @@ enum ShareResult {
// This protocol provides callbacks for sharing events.
@protocol ShareToDelegate<NSObject>
-// Callback triggered on completion of sharing. |successMessage| gives the
-// message to be displayed on successful completion. If |successMessage| is nil,
-// no message is displayed.
+// Callback triggered on completion of sharing. |completionMessage| gives the
+// message to be displayed on completion. If |completionMessage| is nil, no
+// message is displayed.
- (void)shareDidComplete:(ShareTo::ShareResult)shareStatus
- successMessage:(NSString*)message;
+ completionMessage:(NSString*)message;
// Callback triggered if user invoked a Password Management App Extension.
// If |shareStatus| is a successful status, delegate implementing this method
// should find a login form on the current page and autofills it with the
-// |username| and |password|. |successMessage|, if non-nil, is the message to
-// be displayed on successful completion.
+// |username| and |password|. |completionMessage|, if non-nil, is the message to
+// be displayed on completion.
- (void)passwordAppExDidFinish:(ShareTo::ShareResult)shareStatus
username:(NSString*)username
password:(NSString*)password
- successMessage:(NSString*)message;
+ completionMessage:(NSString*)message;
@end
namespace ios {

Powered by Google App Engine
This is Rietveld 408576698