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

Side by Side Diff: remoting/ios/Chromoting/main.mm

Issue 475333004: Remove old Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support."
7 #endif
8
9 #import <UIKit/UIKit.h>
10
11 #include "base/at_exit.h"
12 #include "base/command_line.h"
13 #include "media/base/yuv_convert.h"
14 #include "net/socket/ssl_server_socket.h"
15
16 #import "app_delegate.h"
17
18 int main(int argc, char* argv[]) {
19 // This class is designed to fulfill the dependents needs when it goes out of
20 // scope and gets destructed
21 base::AtExitManager exitManager;
22
23 // Publicize the CommandLine
24 CommandLine::Init(argc, argv);
25
26 #ifdef DEBUG
27 // Set min log level for debug builds. For some reason this has to be
28 // negative.
29 logging::SetMinLogLevel(-1);
30 #endif
31
32 // Allows later decoding of video frames.
33 media::InitializeCPUSpecificYUVConversions();
34
35 // Enable support for SSL server sockets, which must be done as early as
36 // possible, preferably before any NSS SSL sockets (client or server) have
37 // been created.
38 net::EnableSSLServerSockets();
39
40 @autoreleasepool {
41 return UIApplicationMain(
42 argc, argv, nil, NSStringFromClass([AppDelegate class]));
43 }
44 }
OLDNEW
« no previous file with comments | « remoting/ios/Chromoting/en.lproj/InfoPlist.strings ('k') | remoting/ios/Chromoting_unittests/Chromoting_unittests-Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698