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

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

Issue 186733007: iOS Chromoting Client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/command_line.h"
12 #include "base/at_exit.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 // namespace google_apis, which has our clientid and client secrets, has some
dcaiafa 2014/03/19 01:14:15 nit: Is this comment still relevant? If not, pleas
aboone 2014/03/21 16:42:07 Done.
20 // prerequsites, before it can be used. The next two steps fulfill these
21 // prerequsites.
22
23 // This class is designed to fullfill the dependents needs when it goes out of
24 // scope and gets deconstructed
25 base::AtExitManager exitManager;
26
27 // Publicise the CommandLine
28 CommandLine::Init(argc, argv);
29
30 // Allows later decoding of video frames.
31 media::InitializeCPUSpecificYUVConversions();
32
33 // Enable support for SSL server sockets, which must be done as early as
34 // possible, preferably before any NSS SSL sockets (client or server) have
35 // been created.
36 // It's possible that the hosting process has already made use of SSL, in
37 // which case, there may be a slight race.
38 net::EnableSSLServerSockets();
39
40 @autoreleasepool {
41 return UIApplicationMain(
42 argc, argv, nil, NSStringFromClass([AppDelegate class]));
43 }
44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698