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

Side by Side Diff: remoting/client/ios/app/main.mm

Issue 2555803002: Adding the iOS app and integration example with GlRenderer. (Closed)
Patch Set: cleaning up includes. Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #if !defined(__has_feature) || !__has_feature(objc_arc) 5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support." 6 #error "This file requires ARC support."
7 #endif 7 #endif
8 8
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #import "remoting/client/ios/app_delegate.h" 13 #import "remoting/client/ios/app/app_delegate.h"
14 14
15 int main(int argc, char* argv[]) { 15 int main(int argc, char* argv[]) {
16 // This class is designed to fulfill the dependents needs when it goes out of 16 // This class is designed to fulfill the dependents needs when it goes out of
17 // scope and gets destructed. 17 // scope and gets destructed.
18 base::AtExitManager exitManager; 18 base::AtExitManager exitManager;
19 19
20 // Publicize the CommandLine. 20 // Publicize the CommandLine.
21 base::CommandLine::Init(argc, argv); 21 base::CommandLine::Init(argc, argv);
22 22
23 #ifdef DEBUG 23 #ifdef DEBUG
24 // Set min log level for debug builds. For some reason this has to be 24 // Set min log level for debug builds. For some reason this has to be
25 // negative. 25 // negative.
26 logging::SetMinLogLevel(-1); 26 logging::SetMinLogLevel(-1);
27 #endif 27 #endif
28 28
29 @autoreleasepool { 29 @autoreleasepool {
30 return UIApplicationMain( 30 return UIApplicationMain(
31 argc, argv, nil, NSStringFromClass([AppDelegate class])); 31 argc, argv, nil, NSStringFromClass([AppDelegate class]));
32 } 32 }
33 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698