Summary: Rename iOS SonarPlugin to FlipperPlugin Reviewed By: jknoxville Differential Revision: D9915094 fbshipit-source-id: ea2ca60ab578aca8c8f028e3deea4a3b9a48a63b
26 lines
741 B
Objective-C
26 lines
741 B
Objective-C
/*
|
|
* Copyright (c) 2018-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the LICENSE
|
|
* file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
#if FB_SONARKIT_ENABLED
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <SonarKit/FlipperPlugin.h>
|
|
|
|
#import "SKBufferingPlugin.h"
|
|
#import "SKNetworkReporter.h"
|
|
|
|
@interface SonarKitNetworkPlugin : SKBufferingPlugin <SKNetworkReporterDelegate>
|
|
|
|
- (instancetype)initWithNetworkAdapter:(id<SKNetworkAdapterDelegate>)adapter NS_DESIGNATED_INITIALIZER;
|
|
- (instancetype)initWithNetworkAdapter:(id<SKNetworkAdapterDelegate>)adapter queue:(dispatch_queue_t)queue; //For test purposes
|
|
|
|
@property (strong, nonatomic) id<SKNetworkAdapterDelegate> adapter;
|
|
|
|
@end
|
|
|
|
#endif
|