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

Side by Side Diff: ios/crnet/crnet_consumer/crnet_consumer_app_delegate.mm

Issue 2323033002: Use CrNet.framework in crnet_test and crnet_consumer apps. (Closed)
Patch Set: Address nit. Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "crnet_consumer_app_delegate.h" 5 #import "crnet_consumer_app_delegate.h"
6 6
7 #import "ios/crnet/CrNet.h" 7 #import <CrNet/CrNet.h>
8
8 #include "base/format_macros.h" 9 #include "base/format_macros.h"
9 #import "crnet_consumer_view_controller.h" 10 #import "crnet_consumer_view_controller.h"
10 11
11 @implementation CrNetConsumerAppDelegate { 12 @implementation CrNetConsumerAppDelegate {
12 NSUInteger _counter; 13 NSUInteger _counter;
13 } 14 }
14 15
15 @synthesize window; 16 @synthesize window;
16 @synthesize viewController; 17 @synthesize viewController;
17 18
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 NSLog(@"Cache cleared: %d\n", error); 81 NSLog(@"Cache cleared: %d\n", error);
81 }]; 82 }];
82 } 83 }
83 84
84 - (void)applicationWillEnterForeground:(UIApplication*)application { 85 - (void)applicationWillEnterForeground:(UIApplication*)application {
85 _counter++; 86 _counter++;
86 [CrNet startNetLogToFile:[self currentNetLogFileName] logBytes:NO]; 87 [CrNet startNetLogToFile:[self currentNetLogFileName] logBytes:NO];
87 } 88 }
88 89
89 @end 90 @end
OLDNEW
« no previous file with comments | « ios/crnet/crnet_consumer/BUILD.gn ('k') | ios/crnet/crnet_consumer/crnet_consumer_view_controller.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698