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

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: Include CrNet.h from framework. 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 #include "base/format_macros.h" 8 #include "base/format_macros.h"
sdefresne 2016/09/09 14:52:42 nit: blank line to separate import from framework
mef 2016/09/09 15:01:19 Done.
9 #import "crnet_consumer_view_controller.h" 9 #import "crnet_consumer_view_controller.h"
10 10
11 @implementation CrNetConsumerAppDelegate { 11 @implementation CrNetConsumerAppDelegate {
12 NSUInteger _counter; 12 NSUInteger _counter;
13 } 13 }
14 14
15 @synthesize window; 15 @synthesize window;
16 @synthesize viewController; 16 @synthesize viewController;
17 17
18 // Returns a file name to save net internals logging. This method suffixes 18 // Returns a file name to save net internals logging. This method suffixes
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 NSLog(@"Cache cleared: %d\n", error); 80 NSLog(@"Cache cleared: %d\n", error);
81 }]; 81 }];
82 } 82 }
83 83
84 - (void)applicationWillEnterForeground:(UIApplication*)application { 84 - (void)applicationWillEnterForeground:(UIApplication*)application {
85 _counter++; 85 _counter++;
86 [CrNet startNetLogToFile:[self currentNetLogFileName] logBytes:NO]; 86 [CrNet startNetLogToFile:[self currentNetLogFileName] logBytes:NO];
87 } 87 }
88 88
89 @end 89 @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