Remove unnecessary include of bind_objc_block.h
The file base/mac/bind_objc_block.h only expose base::BindBlock (and base::BindBlockArc) templated method. If the method is not used, then the include is unnecessary and can be removed. Automated using the following command: for file in $(git grep -l base/mac/bind_objc_block.h); do if ! grep -q BindBlock $file; then sed -i '' -e '/base\/mac\/bind_objc_block.h/d' $file fi done Bug: none Change-Id: Ia9a172fbc114766a42b1a3c6ef2b8f7293623da1 Reviewed-on: https://chromium-review.googlesource.com/1018485 Reviewed-by: Yuwei Huang <yuweih@chromium.org> Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#552087}
This commit is contained in:

committed by
Commit Bot

parent
be1c4963e3
commit
140dbc6ef8
remoting/ios
@ -8,7 +8,6 @@
|
||||
|
||||
#import "remoting/ios/app/client_connection_view_controller.h"
|
||||
|
||||
#import "base/mac/bind_objc_block.h"
|
||||
#import "ios/third_party/material_components_ios/src/components/ActivityIndicator/src/MDCActivityIndicator.h"
|
||||
#import "ios/third_party/material_components_ios/src/components/Buttons/src/MaterialButtons.h"
|
||||
#import "ios/third_party/material_components_ios/src/components/NavigationBar/src/MaterialNavigationBar.h"
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#import <OpenGLES/ES2/gl.h>
|
||||
|
||||
#import "base/mac/bind_objc_block.h"
|
||||
|
||||
#include "base/bind.h"
|
||||
#include "base/bind_helpers.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#import <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
#import "base/mac/bind_objc_block.h"
|
||||
#import "remoting/ios/domain/host_info.h"
|
||||
#import "remoting/ios/domain/user_info.h"
|
||||
#import "remoting/ios/facade/host_info.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#include "remoting/ios/facade/ios_client_runtime_delegate.h"
|
||||
|
||||
#import "base/mac/bind_objc_block.h"
|
||||
#import "remoting/ios/facade/remoting_authentication.h"
|
||||
#import "remoting/ios/facade/remoting_service.h"
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Security/Security.h>
|
||||
|
||||
#import "base/mac/bind_objc_block.h"
|
||||
#import "remoting/ios/domain/user_info.h"
|
||||
#import "remoting/ios/facade/ios_client_runtime_delegate.h"
|
||||
#import "remoting/ios/facade/remoting_authentication.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#import "remoting/ios/persistence/remoting_preferences.h"
|
||||
|
||||
#import "base/mac/bind_objc_block.h"
|
||||
#import "remoting/ios/domain/host_info.h"
|
||||
#import "remoting/ios/domain/host_settings.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#import "base/mac/bind_objc_block.h"
|
||||
#import "ios/third_party/material_components_ios/src/components/Snackbar/src/MaterialSnackbar.h"
|
||||
#import "remoting/ios/audio/audio_player_ios.h"
|
||||
#import "remoting/ios/display/gl_display_handler.h"
|
||||
|
Reference in New Issue
Block a user