Index: remoting/ios/app/main.mm |
diff --git a/remoting/ios/app/main.mm b/remoting/ios/app/main.mm |
index 611fee9bc5f658ccd59990fe052aa88a53f1e819..1c7b02bea6b836837466e02807a1d8c37484c33b 100644 |
--- a/remoting/ios/app/main.mm |
+++ b/remoting/ios/app/main.mm |
@@ -10,10 +10,13 @@ |
#include "base/at_exit.h" |
#include "base/command_line.h" |
-#include "base/i18n/icu_util.h" |
+ |
#import "remoting/ios/app/app_delegate.h" |
+#import "remoting/ios/app/panel_view_controller_chromium.h" |
int main(int argc, char* argv[]) { |
+ // Changes here should be synced with the private main.mm in ios_internal. |
+ |
// This class is designed to fulfill the dependents needs when it goes out of |
// scope and gets destructed. |
base::AtExitManager exitManager; |
@@ -21,16 +24,9 @@ int main(int argc, char* argv[]) { |
// Publicize the CommandLine. |
base::CommandLine::Init(argc, argv); |
- // Required to find the ICU data file, used by some file_util routines. |
- base::i18n::InitializeICU(); |
- |
-#ifdef DEBUG |
- // Set min log level for debug builds. For some reason this has to be |
- // negative. |
- logging::SetMinLogLevel(-1); |
-#endif |
- |
@autoreleasepool { |
+ PanelViewControllerFactory.controllerClass = |
+ PanelViewControllerChromium.class; |
return UIApplicationMain( |
argc, argv, nil, NSStringFromClass([AppDelegate class])); |
} |