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

Unified Diff: ios/chrome/browser/web/fake_mailto_handler_helpers.mm

Issue 2870783002: Adds Compose Email Settings UI for deprecating Native App Launcher (Closed)
Patch Set: replied to comments from rohitrao Created 3 years, 7 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
« no previous file with comments | « ios/chrome/browser/web/fake_mailto_handler_helpers.h ('k') | ios/chrome/browser/web/mailto_url_rewriter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/web/fake_mailto_handler_helpers.mm
diff --git a/ios/chrome/browser/web/fake_mailto_handler_helpers.mm b/ios/chrome/browser/web/fake_mailto_handler_helpers.mm
new file mode 100644
index 0000000000000000000000000000000000000000..c370dfec3dfb7af5515a88f2c27ffb25c368a11a
--- /dev/null
+++ b/ios/chrome/browser/web/fake_mailto_handler_helpers.mm
@@ -0,0 +1,24 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/chrome/browser/web/fake_mailto_handler_helpers.h"
+
+@implementation FakeMailtoHandlerGmailNotInstalled
+- (BOOL)isAvailable {
+ return NO;
+}
+@end
+
+@implementation FakeMailtoHandlerGmailInstalled
+- (BOOL)isAvailable {
+ return YES;
+}
+@end
+
+@implementation CountingMailtoURLRewriterObserver
+@synthesize changeCount = _changeCount;
+- (void)rewriterDidChange:(MailtoURLRewriter*)rewriter {
+ ++_changeCount;
+}
+@end
« no previous file with comments | « ios/chrome/browser/web/fake_mailto_handler_helpers.h ('k') | ios/chrome/browser/web/mailto_url_rewriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698