Skip to content

Commit 129c713

Browse files
committed
Renames
1 parent 5362f21 commit 129c713

File tree

80 files changed

+198
-297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+198
-297
lines changed

Sources/Sentry/PrivateSentrySDKOnly.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#import "SentryInstallation.h"
77
#import "SentryInternalDefines.h"
88
#import "SentryMeta.h"
9-
#import "SentryOptionsInternal+Private.h"
109
#import "SentryProfileCollector.h"
1110
#import "SentryPropagationContext.h"
1211
#import "SentrySDK+Private.h"
@@ -117,13 +116,13 @@ + (NSString *)installationID
117116
return [SentryInstallation idWithCacheDirectoryPath:self.options.cacheDirectoryPath];
118117
}
119118

120-
+ (SentryOptionsInternal *)options
119+
+ (SentryOptions *)options
121120
{
122-
SentryOptionsInternal *options = [[SentrySDKInternal currentHub] client].options;
121+
SentryOptions *options = [[SentrySDKInternal currentHub] client].options;
123122
if (options != nil) {
124123
return options;
125124
}
126-
return [[SentryOptionsInternal alloc] init];
125+
return [[SentryOptions alloc] init];
127126
}
128127

129128
+ (SentryOnAppStartMeasurementAvailable)onAppStartMeasurementAvailable

Sources/Sentry/Profiling/SentryLaunchProfiling.m

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# import "SentryInternalDefines.h"
88
# import "SentryLaunchProfiling.h"
99
# import "SentryLogC.h"
10-
# import "SentryOptionsInternal+Private.h"
1110
# import "SentryProfileConfiguration.h"
1211
# import "SentryProfiler+Private.h"
1312
# import "SentrySamplerDecision.h"
@@ -148,7 +147,7 @@
148147
}
149148

150149
SentryLaunchProfileDecision
151-
sentry_launchShouldHaveContinuousProfiling(SentryOptionsInternal *options)
150+
sentry_launchShouldHaveContinuousProfiling(SentryOptions *options)
152151
{
153152
if (!options.profiling.profileAppStarts) {
154153
SENTRY_LOG_DEBUG(@"Continuous profiling v2 enabled but disabled app start profiling, "
@@ -203,7 +202,7 @@
203202
}
204203

205204
SentryLaunchProfileDecision
206-
sentry_shouldProfileNextLaunch(SentryOptionsInternal *options)
205+
sentry_shouldProfileNextLaunch(SentryOptions *options)
207206
{
208207
if ([options isContinuousProfilingEnabled]) {
209208
return sentry_launchShouldHaveContinuousProfiling(options);
@@ -228,7 +227,7 @@
228227

229228
# if defined(SENTRY_TEST) || defined(SENTRY_TEST_CI) || defined(DEBUG)
230229
BOOL
231-
sentry_willProfileNextLaunch(SentryOptionsInternal *options)
230+
sentry_willProfileNextLaunch(SentryOptions *options)
232231
{
233232
return sentry_shouldProfileNextLaunch(options).shouldProfile;
234233
}
@@ -307,7 +306,7 @@
307306
BOOL sentry_isTracingAppLaunch;
308307

309308
void
310-
sentry_configureLaunchProfilingForNextLaunch(SentryOptionsInternal *options)
309+
sentry_configureLaunchProfilingForNextLaunch(SentryOptions *options)
311310
{
312311
[SentryDependencyContainer.sharedInstance.dispatchQueueWrapper dispatchAsyncWithBlock:^{
313312
SentryLaunchProfileDecision config = sentry_shouldProfileNextLaunch(options);

Sources/Sentry/Profiling/SentryProfiledTracerConcurrency.mm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
# import "SentryContinuousProfiler.h"
66
# import "SentryInternalDefines.h"
77
# import "SentryLogC.h"
8-
# import "SentryOptionsInternal+Private.h"
98
# import "SentryProfiler+Private.h"
109
# include <mutex>
1110

1211
# import "SentryEvent+Private.h"
1312
# import "SentryHub+Private.h"
1413
# import "SentryInternalDefines.h"
1514
# import "SentryLaunchProfiling.h"
16-
# import "SentryOptionsInternal+Private.h"
1715
# import "SentryProfileConfiguration.h"
1816
# import "SentryProfiledTracerConcurrency.h"
1917
# import "SentryProfiler+Private.h"

Sources/Sentry/Profiling/SentryProfilerSerialization.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# import "SentryLogC.h"
1414
# import "SentryMeta.h"
1515
# import "SentryMetricProfiler.h"
16-
# import "SentryOptionsInternal.h"
1716
# import "SentryProfileTimeseries.h"
1817
# import "SentryProfiledTracerConcurrency.h"
1918
# import "SentryProfiler+Private.h"

Sources/Sentry/Profiling/SentryProfilingSwiftHelpers.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
# import "SentryClient.h"
55
# import "SentryLogC.h"
6-
# import "SentryOptionsInternal+Private.h"
76
# import "SentryProfiler+Private.h"
87
# import "SentrySamplerDecision.h"
98
# import "SentrySwift.h"

Sources/Sentry/Public/SentryTraceContext.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ NS_ASSUME_NONNULL_BEGIN
1111

1212
@class SentryBaggage;
1313
@class SentryId;
14-
@class SentryOptionsInternal;
1514
@class SentryScope;
1615
@class SentryTracer;
1716
@class SentryUser;
@@ -66,7 +65,6 @@ NS_SWIFT_NAME(TraceContext)
6665
@property (nullable, nonatomic, readonly) NSString *replayId;
6766

6867
/**
69-
options:(SentryOptionsInternal *)options;
7068
* Create a SentryBaggage with the information of this SentryTraceContext.
7169
*/
7270
- (SentryBaggage *)toBaggage;

Sources/Sentry/SentryANRTrackingIntegration.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#import "SentryStacktrace.h"
1212
#import "SentrySwift.h"
1313
#import "SentryThread.h"
14-
#import <SentryOptionsInternal+Private.h>
1514

1615
#if SENTRY_HAS_UIKIT
1716
# import <UIKit/UIKit.h>
@@ -24,7 +23,7 @@
2423
@interface SentryANRTrackingIntegration () <SentryANRTrackerDelegate>
2524

2625
@property (nonatomic, strong) SentryANRTracker *tracker;
27-
@property (nonatomic, strong) SentryOptionsInternal *options;
26+
@property (nonatomic, strong) SentryOptions *options;
2827
@property (nonatomic, strong) SentryFileManager *fileManager;
2928
@property (nonatomic, strong) SentryDispatchQueueWrapper *dispatchQueueWrapper;
3029
@property (nonatomic, strong) SentryCrashWrapper *crashWrapper;
@@ -37,7 +36,7 @@ @interface SentryANRTrackingIntegration () <SentryANRTrackerDelegate>
3736

3837
@implementation SentryANRTrackingIntegration
3938

40-
- (BOOL)installWithOptions:(SentryOptionsInternal *)options
39+
- (BOOL)installWithOptions:(SentryOptions *)options
4140
{
4241
if (![super installWithOptions:options]) {
4342
return NO;
@@ -164,7 +163,7 @@ - (void)anrDetectedWithType:(enum SentryANRType)type
164163
// we would lose the scope. Furthermore, we want to know in which state the app was when the
165164
// app hang started.
166165
SentryScope *scope = [SentrySDKInternal currentHub].scope;
167-
SentryOptionsInternal *options = SentrySDKInternal.options;
166+
SentryOptions *options = SentrySDKInternal.options;
168167
if (scope != nil && options != nil) {
169168
[scope applyToEvent:event maxBreadcrumb:options.maxBreadcrumbs];
170169
}

Sources/Sentry/SentryAppStartTrackingIntegration.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
# import "SentryAppStartTracker.h"
66
# import "SentryLogC.h"
7-
# import "SentryOptionsInternal.h"
87
# import "SentrySwift.h"
98
# import <PrivateSentrySDKOnly.h>
109

@@ -16,7 +15,7 @@ @interface SentryAppStartTrackingIntegration ()
1615

1716
@implementation SentryAppStartTrackingIntegration
1817

19-
- (BOOL)installWithOptions:(SentryOptionsInternal *)options
18+
- (BOOL)installWithOptions:(SentryOptions *)options
2019
{
2120
if (!PrivateSentrySDKOnly.appStartMeasurementHybridSDKMode
2221
&& ![super installWithOptions:options]) {

Sources/Sentry/SentryAutoBreadcrumbTrackingIntegration.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#import "SentryAutoBreadcrumbTrackingIntegration.h"
22
#import "SentryBreadcrumbTracker.h"
33
#import "SentryLogC.h"
4-
#import "SentryOptionsInternal.h"
54
#import "SentrySDKInternal.h"
65
#import "SentrySwift.h"
76
#import "SentrySystemEventBreadcrumbs.h"
@@ -20,7 +19,7 @@ @interface SentryAutoBreadcrumbTrackingIntegration ()
2019

2120
@implementation SentryAutoBreadcrumbTrackingIntegration
2221

23-
- (BOOL)installWithOptions:(SentryOptionsInternal *)options
22+
- (BOOL)installWithOptions:(SentryOptions *)options
2423
{
2524
if (![super installWithOptions:options]) {
2625
return NO;
@@ -59,7 +58,7 @@ - (SentryIntegrationOption)integrationOptions
5958
/**
6059
* For testing.
6160
*/
62-
- (void)installWithOptions:(nonnull SentryOptionsInternal *)options
61+
- (void)installWithOptions:(nonnull SentryOptions *)options
6362
breadcrumbTracker:(SentryBreadcrumbTracker *)breadcrumbTracker
6463
#if TARGET_OS_IOS && SENTRY_HAS_UIKIT
6564
systemEventBreadcrumbs:(SentrySystemEventBreadcrumbs *)systemEventBreadcrumbs

Sources/Sentry/SentryAutoSessionTrackingIntegration.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#import "SentryAutoSessionTrackingIntegration.h"
22
#import "SentryLogC.h"
33
#import "SentryOptionsConverter.h"
4-
#import "SentryOptionsInternal.h"
54
#import "SentrySDKInternal.h"
65
#import "SentrySwift.h"
76

@@ -15,14 +14,13 @@ @interface SentryAutoSessionTrackingIntegration ()
1514

1615
@implementation SentryAutoSessionTrackingIntegration
1716

18-
- (BOOL)installWithOptions:(SentryOptionsInternal *)options
17+
- (BOOL)installWithOptions:(SentryOptions *)options
1918
{
2019
if (![super installWithOptions:options]) {
2120
return NO;
2221
}
2322

24-
self.tracker = [SentryDependencyContainer.sharedInstance
25-
getSessionTrackerWithOptions:[SentryOptionsConverter fromInternal:options]];
23+
self.tracker = [SentryDependencyContainer.sharedInstance getSessionTrackerWithOptions:options];
2624
[self.tracker start];
2725

2826
return YES;

0 commit comments

Comments
 (0)