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

Side by Side Diff: ios/web/web_state/blocked_popup_info.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ios/web/web_state/blocked_popup_info.h" 5 #import "ios/web/web_state/blocked_popup_info.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc) 7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support." 8 #error "This file requires ARC support."
9 #endif 9 #endif
10 10
11 namespace web { 11 namespace web {
12 12
13 BlockedPopupInfo::BlockedPopupInfo(const GURL& url, 13 BlockedPopupInfo::BlockedPopupInfo(const GURL& url,
14 const Referrer& referrer, 14 const Referrer& referrer,
15 NSString* window_name, 15 NSString* window_name,
(...skipping 18 matching lines...) Expand all
34 } 34 }
35 35
36 void BlockedPopupInfo::operator=(const BlockedPopupInfo& blocked_popup_info) { 36 void BlockedPopupInfo::operator=(const BlockedPopupInfo& blocked_popup_info) {
37 url_ = blocked_popup_info.url_; 37 url_ = blocked_popup_info.url_;
38 referrer_ = blocked_popup_info.referrer_; 38 referrer_ = blocked_popup_info.referrer_;
39 window_name_.reset([blocked_popup_info.window_name_ copy]); 39 window_name_.reset([blocked_popup_info.window_name_ copy]);
40 show_popup_handler_ = [blocked_popup_info.show_popup_handler_ copy]; 40 show_popup_handler_ = [blocked_popup_info.show_popup_handler_ copy];
41 } 41 }
42 42
43 } // namespace web 43 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/blocked_popup_info.h ('k') | ios/web/web_state/crw_pass_kit_downloader_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698