Commit 69709ac6 authored by olivierrobin's avatar olivierrobin Committed by Commit bot

Import Objective C Frameworks in components

The Objective-C frameworks must be imported and not included.
Command to find Objective-C frameworks
dir="`xcode-select -p`/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks";
for f in `ls $dir`; do
  name=${f%%.framework};
  grep "^\s*#import " $dir/$f/Headers/$name.h > /dev/null 2>/dev/null;
  if [ "$?" = "0" ]; then
    echo $name;
  fi;
done

BUG=677965

Review-Url: https://codereview.chromium.org/2606753004
Cr-Commit-Position: refs/heads/master@{#441912}
parent 110425bc
......@@ -5,7 +5,7 @@
#ifndef COMPONENTS_HANDOFF_HANDOFF_MANAGER_H_
#define COMPONENTS_HANDOFF_HANDOFF_MANAGER_H_
#include <Foundation/Foundation.h>
#import <Foundation/Foundation.h>
#include "build/build_config.h"
#include "components/handoff/handoff_utility.h"
......
......@@ -6,7 +6,7 @@
#include <CoreFoundation/CoreFoundation.h>
#include <DiskArbitration/DiskArbitration.h>
#include <Foundation/Foundation.h>
#import <Foundation/Foundation.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/storage/IOStorageDeviceCharacteristics.h>
#include <stdlib.h>
......
......@@ -4,7 +4,7 @@
#include "components/policy/core/common/policy_loader_ios.h"
#include <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#include "base/callback.h"
#include "base/files/file_path.h"
......
......@@ -4,7 +4,7 @@
#include "components/signin/ios/browser/account_consistency_service.h"
#include <WebKit/WebKit.h>
#import <WebKit/WebKit.h>
#import "base/ios/weak_nsobject.h"
#include "base/logging.h"
......
......@@ -4,7 +4,7 @@
#include "components/signin/ios/browser/fake_profile_oauth2_token_service_ios_provider.h"
#include <Foundation/Foundation.h>
#import <Foundation/Foundation.h>
#include "base/logging.h"
#include "base/strings/sys_string_conversions.h"
......
......@@ -4,7 +4,7 @@
#include "components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.h"
#include <Foundation/Foundation.h>
#import <Foundation/Foundation.h>
#include <memory>
#include <set>
......
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