| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/share_extension/share_extension_item_receiver.h" | 5 #import "ios/chrome/browser/share_extension/share_extension_item_receiver.h" |
| 6 | 6 |
| 7 #import <UIKit/UIKit.h> | 7 #import <UIKit/UIKit.h> |
| 8 | 8 |
| 9 #include "base/ios/block_types.h" | 9 #include "base/ios/block_types.h" |
| 10 #include "base/mac/bind_objc_block.h" | 10 #include "base/mac/bind_objc_block.h" |
| 11 #include "base/mac/foundation_util.h" | 11 #include "base/mac/foundation_util.h" |
| 12 #include "base/mac/scoped_nsobject.h" | 12 #include "base/mac/scoped_nsobject.h" |
| 13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 14 #include "base/metrics/user_metrics_action.h" | 14 #include "base/metrics/user_metrics_action.h" |
| 15 #include "base/strings/sys_string_conversions.h" | 15 #include "base/strings/sys_string_conversions.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "components/bookmarks/browser/bookmark_model.h" | 17 #include "components/bookmarks/browser/bookmark_model.h" |
| 18 #include "components/reading_list/reading_list_model.h" | 18 #include "components/reading_list/ios/reading_list_model.h" |
| 19 #include "components/reading_list/reading_list_model_observer.h" | 19 #include "components/reading_list/ios/reading_list_model_observer.h" |
| 20 #include "ios/chrome/browser/experimental_flags.h" | 20 #include "ios/chrome/browser/experimental_flags.h" |
| 21 #include "ios/chrome/common/app_group/app_group_constants.h" | 21 #include "ios/chrome/common/app_group/app_group_constants.h" |
| 22 #include "ios/web/public/web_thread.h" | 22 #include "ios/web/public/web_thread.h" |
| 23 #import "net/base/mac/url_conversions.h" | 23 #import "net/base/mac/url_conversions.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 #if !defined(__has_feature) || !__has_feature(objc_arc) | 26 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 27 #error "This file requires ARC support." | 27 #error "This file requires ARC support." |
| 28 #endif | 28 #endif |
| 29 | 29 |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 | 345 |
| 346 - (NSOperationQueue*)presentedItemOperationQueue { | 346 - (NSOperationQueue*)presentedItemOperationQueue { |
| 347 return [NSOperationQueue mainQueue]; | 347 return [NSOperationQueue mainQueue]; |
| 348 } | 348 } |
| 349 | 349 |
| 350 - (NSURL*)presentedItemURL { | 350 - (NSURL*)presentedItemURL { |
| 351 return app_group::ShareExtensionItemsFolder(); | 351 return app_group::ShareExtensionItemsFolder(); |
| 352 } | 352 } |
| 353 | 353 |
| 354 @end | 354 @end |
| OLD | NEW |