Commit 6c424b7c authored by stkhapugin's avatar stkhapugin Committed by Commit bot

[ARC] Converts part of ios/web/public to ARC.

Notable changes:none

BUG=651816
TEST=none

Review-Url: https://codereview.chromium.org/2375023006
Cr-Commit-Position: refs/heads/master@{#422759}
parent 432e9601
...@@ -149,10 +149,33 @@ source_set("web_arc") { ...@@ -149,10 +149,33 @@ source_set("web_arc") {
"public/web_state/ui/crw_web_delegate.h", "public/web_state/ui/crw_web_delegate.h",
"public/web_state/ui/crw_web_view_content_view.h", "public/web_state/ui/crw_web_view_content_view.h",
"public/web_state/url_verification_constants.h", "public/web_state/url_verification_constants.h",
"public/web_state/web_state.h",
"public/web_state/web_state_delegate.h",
"public/web_state/web_state_delegate_bridge.h",
"public/web_state/web_state_observer.h",
"public/web_state/web_state_observer_bridge.h",
"public/web_state/web_state_policy_decider.h",
"public/web_state/web_state_user_data.h",
"public/web_thread.h",
"public/web_thread_delegate.h",
"public/web_ui_ios_data_source.h",
"public/web_view_creation_util.h",
"public/webui/web_ui_ios.h",
"public/webui/web_ui_ios_controller.cc",
"public/webui/web_ui_ios_controller.h",
"public/webui/web_ui_ios_controller_factory.h",
"public/webui/web_ui_ios_message_handler.cc",
"public/webui/web_ui_ios_message_handler.h",
"string_util.cc", "string_util.cc",
"url_scheme_util.mm", "url_scheme_util.mm",
"url_util.cc", "url_util.cc",
"web_kit_constants.cc", "web_kit_constants.cc",
"web_state/blocked_popup_info.h",
"web_state/blocked_popup_info.mm",
"web_state/context_menu_params.mm",
"web_state/credential.cc",
"web_state/crw_pass_kit_downloader.h",
"web_state/crw_pass_kit_downloader.mm",
"web_thread_impl.cc", "web_thread_impl.cc",
"web_thread_impl.h", "web_thread_impl.h",
"web_view_creation_util.mm", "web_view_creation_util.mm",
...@@ -214,29 +237,6 @@ source_set("web") { ...@@ -214,29 +237,6 @@ source_set("web") {
] ]
sources = [ sources = [
"public/web_state/web_state.h",
"public/web_state/web_state_delegate.h",
"public/web_state/web_state_delegate_bridge.h",
"public/web_state/web_state_observer.h",
"public/web_state/web_state_observer_bridge.h",
"public/web_state/web_state_policy_decider.h",
"public/web_state/web_state_user_data.h",
"public/web_thread.h",
"public/web_thread_delegate.h",
"public/web_ui_ios_data_source.h",
"public/web_view_creation_util.h",
"public/webui/web_ui_ios.h",
"public/webui/web_ui_ios_controller.cc",
"public/webui/web_ui_ios_controller.h",
"public/webui/web_ui_ios_controller_factory.h",
"public/webui/web_ui_ios_message_handler.cc",
"public/webui/web_ui_ios_message_handler.h",
"web_state/blocked_popup_info.h",
"web_state/blocked_popup_info.mm",
"web_state/context_menu_params.mm",
"web_state/credential.cc",
"web_state/crw_pass_kit_downloader.h",
"web_state/crw_pass_kit_downloader.mm",
"web_state/crw_web_view_proxy_impl.h", "web_state/crw_web_view_proxy_impl.h",
"web_state/crw_web_view_proxy_impl.mm", "web_state/crw_web_view_proxy_impl.mm",
"web_state/crw_web_view_scroll_view_proxy.mm", "web_state/crw_web_view_scroll_view_proxy.mm",
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
#include "ios/web/web_state/blocked_popup_info.h" #include "ios/web/web_state/blocked_popup_info.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace web { namespace web {
BlockedPopupInfo::BlockedPopupInfo(const GURL& url, BlockedPopupInfo::BlockedPopupInfo(const GURL& url,
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
#import "ios/web/public/web_state/context_menu_params.h" #import "ios/web/public/web_state/context_menu_params.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace web { namespace web {
ContextMenuParams::ContextMenuParams() ContextMenuParams::ContextMenuParams()
......
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
#include "net/url_request/url_fetcher_delegate.h" #include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request_context_getter.h" #include "net/url_request/url_request_context_getter.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
using net::URLFetcher; using net::URLFetcher;
using net::URLFetcherDelegate; using net::URLFetcherDelegate;
using net::URLRequestContextGetter; using net::URLRequestContextGetter;
...@@ -124,7 +128,6 @@ class PassKitFetcherDelegate : public URLFetcherDelegate { ...@@ -124,7 +128,6 @@ class PassKitFetcherDelegate : public URLFetcherDelegate {
- (void)dealloc { - (void)dealloc {
[[CRWNetworkActivityIndicatorManager sharedInstance] [[CRWNetworkActivityIndicatorManager sharedInstance]
clearNetworkTasksForGroup:[self networkActivityKey]]; clearNetworkTasksForGroup:[self networkActivityKey]];
[super dealloc];
} }
- (BOOL)isMIMETypePassKitType:(NSString*)MIMEType { - (BOOL)isMIMETypePassKitType:(NSString*)MIMEType {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment