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

Side by Side Diff: ios/chrome/browser/web/mailto_handler_gmail.mm

Issue 2898483002: IWYU: Removed some unnecessary includes (mailto_handler*) (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/web/mailto_handler_gmail_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/chrome/browser/web/mailto_handler_gmail.h" 5 #import "ios/chrome/browser/web/mailto_handler_gmail.h"
6 #include "base/strings/sys_string_conversions.h"
7 #include "url/gurl.h"
8 #include "url/url_constants.h"
9 6
10 #import <UIKit/UIKit.h> 7 #import <UIKit/UIKit.h>
11 8
12 #if !defined(__has_feature) || !__has_feature(objc_arc) 9 #if !defined(__has_feature) || !__has_feature(objc_arc)
13 #error "This file requires ARC support." 10 #error "This file requires ARC support."
14 #endif 11 #endif
15 12
16 @implementation MailtoHandlerGmail 13 @implementation MailtoHandlerGmail
17 14
18 - (instancetype)init { 15 - (instancetype)init {
19 // Gmail product name is not supposed to be localized. 16 // Gmail product name is not supposed to be localized.
20 self = [super initWithName:@"Gmail" appStoreID:@"422689480"]; 17 self = [super initWithName:@"Gmail" appStoreID:@"422689480"];
21 return self; 18 return self;
22 } 19 }
23 20
24 - (NSString*)beginningScheme { 21 - (NSString*)beginningScheme {
25 return @"googlegmail:/co?"; 22 return @"googlegmail:/co?";
26 } 23 }
27 24
28 @end 25 @end
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/web/mailto_handler_gmail_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698