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

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

Issue 2200323003: [Cronet] Add BUILD.gn for legacy ios/CrNet project. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 "CrNet.h" 7 #import "ios/crnet/CrNet.h"
sdefresne 2016/08/02 21:54:11 If you follow my recommendation about using crnet_
mef 2016/08/03 20:42:41 Using crnet_framework+bind results in gn error and
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
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
(...skipping 62 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

Powered by Google App Engine
This is Rietveld 408576698