OLD | NEW |
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 Loading... |
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 |
OLD | NEW |