Move scoped_cftypreref to base/apple, leave a forwarding header
Crashpad is not yet updated for the new location, so leave a
forwarding header to be removed later.
Bug: 1444927
Change-Id: Ib00aa68980726f7702f740d543953abe397ffddc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4790741
Owners-Override: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1184758}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
4fc0000876
commit
a09d7dda2e
base
BUILD.gn
apple
files
ios
mac
message_loop
native_library_mac.mmpower_monitor
battery_level_provider_mac.mmpower_monitor_device_source.hpower_monitor_device_source_mac.mmthermal_state_observer_mac.mm
strings
time
chrome
app
browser
apps
enterprise
connectors
device_trust
key_management
core
mac
mock_secure_enclave_client.hmock_secure_enclave_helper.hsecure_enclave_client.hsecure_enclave_client_impl.hsecure_enclave_client_impl.mmsecure_enclave_client_unittest.mmsecure_enclave_helper.hsecure_enclave_helper_impl.hsecure_enclave_helper_impl.mmsecure_enclave_signing_key.ccsecure_enclave_signing_key_unittest.mm
persistence
extensions
api
enterprise_reporting_private
image_writer_private
mac
media
policy
renderer_host
safe_browsing
incident_reporting
signature_evaluator_mac.hsignature_evaluator_mac.mmsignature_evaluator_mac_unittest.ccui
web_applications
common
test
updater
device_management
mac
policy
utility
components
country_codes
device_signals
core
system_signals
memory_pressure
metal_util
metrics
os_crypt
password_manager
policy
core
power_metrics
remote_cocoa
services
storage_monitor
sync_device_info
viz
service
display_embedder
wifi
content
app_shim_remote_cocoa
browser
accessibility
font_access
renderer_host
sandbox_mac_unittest.mmcommon
renderer
crypto
device
bluetooth
fido
mac
gamepad
extensions/browser
gpu
command_buffer
service
shared_image
ipc
ios
chrome
browser
snapshots
ui
voice
components
credential_provider_extension
web
media
audio
base
capture
video
cast
encoding
gpu
mac
video_toolbox_decompression_interface.hvideo_toolbox_decompression_session.hvideo_toolbox_frame_converter.hvideo_toolbox_h264_accelerator.hvideo_toolbox_video_decoder.ccvideo_toolbox_video_decoder.hvideo_toolbox_vp9_accelerator.hvp9_super_frame_bitstream_filter.hvt_config_util.hvt_video_decode_accelerator_mac.hvt_video_encode_accelerator_mac.h
net
base
net_string_util_icu_alternatives_ios.mmnetwork_change_notifier_mac.hnetwork_config_watcher_mac.hplatform_mime_util_mac.mm
cert
proxy_resolution
ssl
printing
remoting
host
curtain_mode_mac.ccdesktop_resizer_mac.ccinput_injector_mac.cc
input_monitor
keyboard_layout_monitor_mac.ccmac
ios
rlz/mac/lib
services
device
battery
geolocation
serial
usb
wake_lock
power_save_blocker
preferences
tracked
shape_detection
skia/ext
third_party
blink
public
platform
renderer
core
platform
crashpad
crashpad
sudden_motion_sensor
tools/mac/power/power_sampler
ui
accelerated_widget_mac
accessibility
platform
base
accelerators
clipboard
cocoa
cursor_utils.mmnsmenuitem_additions.mmnsmenuitem_additions_unittest.mmpermissions_utils.mmsecure_password_input.mm
test
display
events
cocoa
keycodes
test
gfx
font_fallback_mac.mmhdr_metadata_mac.h
image
image_ios_unittest.mmimage_skia_util_ios.mmimage_unittest.ccimage_unittest_util.ccimage_unittest_util_apple.mm
mac
platform_font_mac.hplatform_font_mac.mmplatform_font_mac_unittest.mmnative_theme
snapshot
@ -1960,6 +1960,7 @@ component("base") {
|
||||
"apple/owned_objc.h",
|
||||
"apple/owned_objc.mm",
|
||||
"apple/scoped_cffiledescriptorref.h",
|
||||
"apple/scoped_cftyperef.h",
|
||||
"apple/scoped_dispatch_object.h",
|
||||
"apple/scoped_mach_port.cc",
|
||||
"apple/scoped_mach_port.h",
|
||||
@ -2025,7 +2026,6 @@ component("base") {
|
||||
"mac/scoped_aedesc.h",
|
||||
"mac/scoped_authorizationref.h",
|
||||
"mac/scoped_authorizationref.mm",
|
||||
"mac/scoped_cftyperef.h",
|
||||
"mac/scoped_ionotificationportref.h",
|
||||
"mac/scoped_ioobject.h",
|
||||
"mac/scoped_ioplugininterface.h",
|
||||
|
@ -7,11 +7,11 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "build/build_config.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
@ -8,9 +8,9 @@
|
||||
#include <CoreText/CoreText.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/base_export.h"
|
||||
#include "base/check.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/types/always_false.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/format_macros.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "build/build_config.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
48
base/apple/scoped_cftyperef.h
Normal file
48
base/apple/scoped_cftyperef.h
Normal file
@ -0,0 +1,48 @@
|
||||
// Copyright 2012 The Chromium Authors
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef BASE_APPLE_SCOPED_CFTYPEREF_H_
|
||||
#define BASE_APPLE_SCOPED_CFTYPEREF_H_
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
#include "base/apple/scoped_typeref.h"
|
||||
|
||||
namespace base {
|
||||
|
||||
// ScopedCFTypeRef<> is patterned after std::unique_ptr<>, but maintains
|
||||
// ownership of a CoreFoundation object: any object that can be represented
|
||||
// as a CFTypeRef. Style deviations here are solely for compatibility with
|
||||
// std::unique_ptr<>'s interface, with which everyone is already familiar.
|
||||
//
|
||||
// By default, ScopedCFTypeRef<> takes ownership of an object (in the
|
||||
// constructor or in reset()) by taking over the caller's existing ownership
|
||||
// claim. The caller must own the object it gives to ScopedCFTypeRef<>, and
|
||||
// relinquishes an ownership claim to that object. ScopedCFTypeRef<> does not
|
||||
// call CFRetain(). This behavior is parameterized by the |OwnershipPolicy|
|
||||
// enum. If the value |RETAIN| is passed (in the constructor or in reset()),
|
||||
// then ScopedCFTypeRef<> will call CFRetain() on the object, and the initial
|
||||
// ownership is not changed.
|
||||
|
||||
namespace internal {
|
||||
|
||||
template <typename CFT>
|
||||
struct ScopedCFTypeRefTraits {
|
||||
static CFT InvalidValue() { return nullptr; }
|
||||
static CFT Retain(CFT object) {
|
||||
CFRetain(object);
|
||||
return object;
|
||||
}
|
||||
static void Release(CFT object) { CFRelease(object); }
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
|
||||
template <typename CFT>
|
||||
using ScopedCFTypeRef =
|
||||
ScopedTypeRef<CFT, internal::ScopedCFTypeRefTraits<CFT>>;
|
||||
|
||||
} // namespace base
|
||||
|
||||
#endif // BASE_APPLE_SCOPED_CFTYPEREF_H_
|
@ -21,7 +21,7 @@
|
||||
#include "base/trace_event/base_tracing.h"
|
||||
|
||||
#if BUILDFLAG(IS_APPLE)
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/third_party/icu/icu_utf.h"
|
||||
#endif
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
||||
#include <algorithm>
|
||||
#include <list>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/check.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/lazy_instance.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/task/sequenced_task_runner.h"
|
||||
#include "base/threading/scoped_blocking_call.h"
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/check.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
|
@ -12,9 +12,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/base_export.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
@ -18,11 +18,11 @@
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/bundle_locations.h"
|
||||
#include "base/apple/osstatus_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_aedesc.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "base/strings/string_piece.h"
|
||||
|
@ -10,11 +10,11 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/xattr.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/system/sys_info.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "testing/platform_test.h"
|
||||
|
@ -1,50 +1,16 @@
|
||||
// Copyright 2012 The Chromium Authors
|
||||
// Copyright 2023 The Chromium Authors
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef BASE_MAC_SCOPED_CFTYPEREF_H_
|
||||
#define BASE_MAC_SCOPED_CFTYPEREF_H_
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
|
||||
#include "base/apple/scoped_typeref.h"
|
||||
// This is a forwarding header so that Crashpad can continue to build correctly
|
||||
// until mini_chromium and then it are updated and rolled.
|
||||
|
||||
namespace base {
|
||||
|
||||
// ScopedCFTypeRef<> is patterned after std::unique_ptr<>, but maintains
|
||||
// ownership of a CoreFoundation object: any object that can be represented
|
||||
// as a CFTypeRef. Style deviations here are solely for compatibility with
|
||||
// std::unique_ptr<>'s interface, with which everyone is already familiar.
|
||||
//
|
||||
// By default, ScopedCFTypeRef<> takes ownership of an object (in the
|
||||
// constructor or in reset()) by taking over the caller's existing ownership
|
||||
// claim. The caller must own the object it gives to ScopedCFTypeRef<>, and
|
||||
// relinquishes an ownership claim to that object. ScopedCFTypeRef<> does not
|
||||
// call CFRetain(). This behavior is parameterized by the |OwnershipPolicy|
|
||||
// enum. If the value |RETAIN| is passed (in the constructor or in reset()),
|
||||
// then ScopedCFTypeRef<> will call CFRetain() on the object, and the initial
|
||||
// ownership is not changed.
|
||||
|
||||
namespace internal {
|
||||
|
||||
template<typename CFT>
|
||||
struct ScopedCFTypeRefTraits {
|
||||
static CFT InvalidValue() { return nullptr; }
|
||||
static CFT Retain(CFT object) {
|
||||
CFRetain(object);
|
||||
return object;
|
||||
}
|
||||
static void Release(CFT object) {
|
||||
CFRelease(object);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
|
||||
template<typename CFT>
|
||||
using ScopedCFTypeRef =
|
||||
ScopedTypeRef<CFT, internal::ScopedCFTypeRefTraits<CFT>>;
|
||||
|
||||
} // namespace base
|
||||
// TODO(https://crbug.com/1444927): Update mini_chromium, update Crashpad, roll
|
||||
// Crashpad, and then delete this forwarding header.
|
||||
|
||||
#endif // BASE_MAC_SCOPED_CFTYPEREF_H_
|
||||
|
@ -36,8 +36,8 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/stack.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/run_loop.h"
|
||||
#include "build/build_config.h"
|
||||
|
@ -11,11 +11,11 @@
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/call_with_eh_frame.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_nsautorelease_pool.h"
|
||||
#include "base/auto_reset.h"
|
||||
#include "base/check_op.h"
|
||||
#include "base/feature_list.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/memory/scoped_policy.h"
|
||||
#include "base/metrics/histogram_samples.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
#include "base/message_loop/message_pump_apple.h"
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/cancelable_callback.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/task/current_thread.h"
|
||||
#include "base/task/single_thread_task_runner.h"
|
||||
#include "base/test/bind.h"
|
||||
|
@ -6,8 +6,8 @@
|
||||
#define BASE_MESSAGE_LOOP_MESSAGE_PUMP_IO_IOS_H_
|
||||
|
||||
#include "base/apple/scoped_cffiledescriptorref.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/base_export.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "base/message_loop/message_pump_apple.h"
|
||||
#include "base/message_loop/watchable_io_message_pump_posix.h"
|
||||
|
@ -7,10 +7,10 @@
|
||||
#include <dlfcn.h>
|
||||
#include <mach-o/getsect.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/strcat.h"
|
||||
#include "base/strings/string_piece.h"
|
||||
#include "base/strings/string_util.h"
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include <IOKit/IOKitLib.h>
|
||||
#include <IOKit/ps/IOPSKeys.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
|
||||
namespace base {
|
||||
|
@ -24,7 +24,7 @@
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
#include <IOKit/IOTypes.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ionotificationportref.h"
|
||||
#include "base/power_monitor/battery_level_provider.h"
|
||||
#include "base/power_monitor/iopm_power_source_sampling_event_source.h"
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include "base/power_monitor/power_monitor_device_source.h"
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/power_monitor/power_monitor.h"
|
||||
#include "base/power_monitor/power_monitor_source.h"
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/power_monitor/power_monitor.h"
|
||||
#include "base/power_monitor/power_monitor_source.h"
|
||||
#include "base/power_monitor/power_observer.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#if BUILDFLAG(IS_APPLE)
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
|
||||
#ifdef __OBJC__
|
||||
@class NSString;
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "base/strings/string_piece.h"
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
#include <time.h>
|
||||
|
||||
#include "base/apple/mach_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_mach_port.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "base/time/time_override.h"
|
||||
#include "build/build_config.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <CoreFoundation/CFCalendar.h>
|
||||
#include <CoreFoundation/CFTimeZone.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
|
||||
#if __LP64__
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/rand_util.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "mojo/public/cpp/bindings/pending_receiver.h"
|
||||
#include "mojo/public/cpp/bindings/remote.h"
|
||||
|
@ -14,8 +14,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "apps/app_lifetime_monitor.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/functional/callback_forward.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "chrome/browser/apps/app_shim/app_shim_host_bootstrap_mac.h"
|
||||
|
@ -12,8 +12,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "testing/gmock/include/gmock/gmock.h"
|
||||
|
||||
namespace enterprise_connectors::test {
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <Security/Security.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "testing/gmock/include/gmock/gmock.h"
|
||||
|
||||
namespace enterprise_connectors::test {
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
namespace enterprise_connectors {
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/mac/secure_enclave_helper.h"
|
||||
|
||||
namespace enterprise_connectors {
|
||||
|
@ -12,8 +12,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/numerics/safe_conversions.h"
|
||||
#include "base/strings/string_piece.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/test/metrics/histogram_tester.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
|
||||
namespace enterprise_connectors {
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <Security/Security.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
|
||||
namespace enterprise_connectors {
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
|
||||
namespace enterprise_connectors {
|
||||
|
||||
|
@ -8,10 +8,10 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/check.h"
|
||||
#include "base/containers/contains.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/mac/secure_enclave_client.h"
|
||||
#include "crypto/signature_verifier.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/mac/mock_secure_enclave_client.h"
|
||||
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/mac/secure_enclave_client.h"
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include <utility>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/containers/span.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/mac/mock_secure_enclave_client.h"
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <Security/Security.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
||||
namespace extensions {
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include <IOKit/storage/IOStorageProtocolCharacteristics.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/memory/scoped_refptr.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
@ -8,10 +8,10 @@
|
||||
#import <CoreServices/CoreServices.h> // pre-macOS 11
|
||||
#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h> // macOS 11
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/task/thread_pool.h"
|
||||
#include "base/threading/thread.h"
|
||||
|
@ -13,10 +13,10 @@
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/bundle_locations.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/launchd.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "build/branding_buildflags.h"
|
||||
|
||||
extern "C" {
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "base/apple/bundle_locations.h"
|
||||
#include "base/apple/mach_logging.h"
|
||||
#include "base/apple/osstatus_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/auto_reset.h"
|
||||
#include "base/command_line.h"
|
||||
#include "base/files/file_path.h"
|
||||
@ -31,7 +32,6 @@
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_authorizationref.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/memory/scoped_policy.h"
|
||||
#include "base/strings/string_util.h"
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/check.h"
|
||||
#include "base/command_line.h"
|
||||
#include "base/feature_list.h"
|
||||
#include "base/functional/callback.h"
|
||||
#include "base/functional/callback_helpers.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/no_destructor.h"
|
||||
#import "base/task/sequenced_task_runner.h"
|
||||
#include "base/task/sequenced_task_runner.h"
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "third_party/libyuv/include/libyuv/convert_argb.h"
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/base64url.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/important_file_writer.h"
|
||||
@ -15,7 +16,6 @@
|
||||
#include "base/hash/sha1.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/metrics/histogram_functions.h"
|
||||
#include "base/notreached.h"
|
||||
|
@ -10,10 +10,10 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "build/branding_buildflags.h"
|
||||
#include "components/policy/policy_constants.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
#include <Cocoa/Cocoa.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/run_loop.h"
|
||||
#include "base/test/simple_test_tick_clock.h"
|
||||
|
@ -10,11 +10,11 @@
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/bundle_locations.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "chrome/browser/safe_browsing/incident_reporting/incident.h"
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.h"
|
||||
|
||||
namespace safe_browsing {
|
||||
|
@ -12,9 +12,9 @@
|
||||
#include <sys/xattr.h>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "chrome/common/safe_browsing/binary_feature_extractor.h"
|
||||
|
@ -12,10 +12,10 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/test/scoped_path_override.h"
|
||||
|
@ -9,9 +9,9 @@
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/bundle_locations.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "build/branding_buildflags.h"
|
||||
#include "chrome/common/channel_info.h"
|
||||
|
@ -8,9 +8,9 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#import "base/apple/scoped_cftyperef.h"
|
||||
#include "base/functional/callback_helpers.h"
|
||||
#import "base/mac/foundation_util.h"
|
||||
#import "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "chrome/browser/apps/app_service/app_launch_params.h"
|
||||
#include "chrome/browser/apps/app_service/app_service_proxy.h"
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/check.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "chrome/grit/theme_resources.h"
|
||||
#include "ui/base/resource/resource_bundle.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
#include <numeric>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/path_service.h"
|
||||
#include "skia/ext/skia_utils_mac.h"
|
||||
#include "testing/gmock/include/gmock/gmock.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/bundle_locations.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/base_switches.h"
|
||||
#include "base/check_is_test.h"
|
||||
#include "base/command_line.h"
|
||||
@ -30,7 +31,6 @@
|
||||
#include "base/mac/foundation_util.h"
|
||||
#import "base/mac/launch_application.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "base/metrics/histogram_functions.h"
|
||||
#include "base/metrics/histogram_macros.h"
|
||||
|
@ -45,9 +45,9 @@
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
#include <ImageIO/ImageIO.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "chrome/browser/shell_integration.h"
|
||||
#include "chrome/browser/web_applications/app_shim_registry_mac.h"
|
||||
#include "net/base/filename_util.h"
|
||||
|
@ -9,8 +9,8 @@
|
||||
#include <IOKit/storage/IOMedia.h>
|
||||
|
||||
#include "base/apple/mach_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/check_op.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/no_destructor.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/threading/scoped_blocking_call.h"
|
||||
|
@ -7,10 +7,10 @@
|
||||
#include <Carbon/Carbon.h>
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_objc_class_swizzler.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/run_loop.h"
|
||||
#include "chrome/app/chrome_command_ids.h"
|
||||
#include "chrome/browser/chrome_browser_application_mac.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#import <Carbon/Carbon.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/synchronization/lock.h"
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/important_file_writer.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/memory/scoped_refptr.h"
|
||||
#include "base/strings/string_util.h"
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/command_line.h"
|
||||
#include "base/files/file_enumerator.h"
|
||||
#include "base/files/file_path.h"
|
||||
@ -22,7 +23,6 @@
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/memory/scoped_refptr.h"
|
||||
#include "base/process/launch.h"
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/strcat.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "chrome/updater/constants.h"
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/enterprise_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "base/memory/scoped_refptr.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
@ -13,10 +13,10 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/command_line.h"
|
||||
#include "base/files/scoped_file.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/posix/eintr_wrapper.h"
|
||||
#include "base/process/kill.h"
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/notreached.h"
|
||||
#include "base/numerics/ostream_operators.h"
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
|
||||
namespace safe_browsing {
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <windows.h>
|
||||
#undef IN // On Windows, windef.h defines this, which screws up "India" cases.
|
||||
#elif BUILDFLAG(IS_APPLE)
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
|
@ -7,9 +7,9 @@
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#import "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "crypto/sha2.h"
|
||||
#include "net/cert/asn1_util.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
@ -8,8 +8,8 @@
|
||||
#include <CoreFoundation/CFDate.h>
|
||||
#include <dispatch/dispatch.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_dispatch_object.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/message_loop/message_pump_apple.h"
|
||||
#include "base/sequence_checker.h"
|
||||
#include "base/timer/timer.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
#include "components/memory_pressure/system_memory_pressure_evaluator_mac.h"
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/functional/callback_helpers.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/test/metrics/histogram_tester.h"
|
||||
#include "base/test/task_environment.h"
|
||||
#include "components/memory_pressure/multi_source_memory_pressure_monitor.h"
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <MetalKit/MetalKit.h>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "components/metal_util/device.h"
|
||||
#include "third_party/skia/modules/skcms/skcms.h"
|
||||
|
@ -13,10 +13,10 @@
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
|
||||
namespace metrics {
|
||||
|
@ -7,8 +7,8 @@
|
||||
#import <Security/Security.h>
|
||||
|
||||
#include "base/apple/osstatus_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/base64.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/no_destructor.h"
|
||||
#include "base/rand_util.h"
|
||||
#include "build/branding_buildflags.h"
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/osstatus_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/base64.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "components/password_manager/core/common/passwords_directory_util_ios.h"
|
||||
|
@ -10,9 +10,9 @@
|
||||
|
||||
#include <tuple>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/test/task_environment.h"
|
||||
|
@ -67,7 +67,7 @@
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(IS_APPLE)
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#endif
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/values.h"
|
||||
#include "components/policy/core/common/policy_test_utils.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
@ -8,10 +8,10 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/functional/callback.h"
|
||||
#include "base/json/json_string_value_serializer.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#import "base/task/sequenced_task_runner.h"
|
||||
#include "base/task/sequenced_task_runner.h"
|
||||
|
@ -7,9 +7,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_path_watcher.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/ref_counted.h"
|
||||
#include "build/build_config.h"
|
||||
#include "components/policy/core/common/async_policy_loader.h"
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/functional/callback.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/run_loop.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
#if BUILDFLAG(IS_APPLE)
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#endif
|
||||
|
||||
namespace policy {
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef COMPONENTS_POLICY_CORE_COMMON_PREFERENCES_MOCK_MAC_H_
|
||||
#define COMPONENTS_POLICY_CORE_COMMON_PREFERENCES_MOCK_MAC_H_
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "components/policy/core/common/preferences_mac.h"
|
||||
#include "components/policy/policy_export.h"
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <Foundation/Foundation.h>
|
||||
#import <IOKit/IOKitLib.h>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/mac/scoped_ioobject.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/time/time.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
namespace power_metrics {
|
||||
|
@ -9,8 +9,8 @@
|
||||
#import <SecurityInterface/SecurityInterface.h>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/notreached.h"
|
||||
#include "net/cert/x509_util_apple.h"
|
||||
|
||||
|
@ -11,11 +11,11 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/i18n/case_conversion.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#import "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/threading/hang_watcher.h"
|
||||
|
@ -8,11 +8,11 @@
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
#include "base/apple/osstatus_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
||||
namespace quarantine {
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/osstatus_logging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/threading/scoped_blocking_call.h"
|
||||
#include "components/services/quarantine/common.h"
|
||||
|
@ -8,12 +8,12 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/files/scoped_temp_dir.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/run_loop.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "base/test/task_environment.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "components/storage_monitor/storage_monitor.h"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/task/sequenced_task_runner.h"
|
||||
#include "components/viz/service/display/software_output_device.h"
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#import "base/task/sequenced_task_runner.h"
|
||||
#import "base/task/single_thread_task_runner.h"
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
#include "base/apple/bridging.h"
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "components/remote_cocoa/app_shim/ns_view_ids.h"
|
||||
#include "content/app_shim_remote_cocoa/render_widget_host_ns_view_host_helper.h"
|
||||
|
@ -14,8 +14,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "base/apple/scoped_cftyperef.h"
|
||||
#include "base/mac/foundation_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/strings/string_split.h"
|
||||
#include "base/strings/string_util.h"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user