Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1183)

Unified Diff: test/ios/framework/iOSFramework/Thing.m

Issue 1887703004: Fix header map nextPowerOf2 method. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Add comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/ios/framework/iOSFramework/Thing.h ('k') | test/ios/framework/iOSFramework/iOSFramework.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/ios/framework/iOSFramework/Thing.m
diff --git a/test/ios/framework/iOSFramework/Thing.m b/test/ios/framework/iOSFramework/Thing.m
new file mode 100644
index 0000000000000000000000000000000000000000..5b2b54925e324637f5269a6296f7bedb5d596a5c
--- /dev/null
+++ b/test/ios/framework/iOSFramework/Thing.m
@@ -0,0 +1,22 @@
+#import "Thing.h"
+
+@interface Thing ()
+
+@end
+
+@implementation Thing
+
++ (instancetype)thing {
+ static Thing* thing = nil;
+ static dispatch_once_t onceToken;
+ dispatch_once(&onceToken, ^{
+ thing = [[[self class] alloc] init];
+ });
+ return thing;
+}
+
+- (void)sayHello {
+ NSLog(@"Hello World");
+}
+
+@end
« no previous file with comments | « test/ios/framework/iOSFramework/Thing.h ('k') | test/ios/framework/iOSFramework/iOSFramework.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698