| OLD | NEW |
| 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 #include <cstdio> | 5 #include <cstdio> |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 break; | 36 break; |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 catch (const std::exception& e) { | 39 catch (const std::exception& e) { |
| 40 tcu::die("%s", e.what()); | 40 tcu::die("%s", e.what()); |
| 41 } | 41 } |
| 42 } | 42 } |
| 43 | 43 |
| 44 int main(int argc, char *argv[]) { | 44 int main(int argc, char *argv[]) { |
| 45 base::AtExitManager at_exit; | 45 base::AtExitManager at_exit; |
| 46 CommandLine::Init(argc, argv); | 46 base::CommandLine::Init(argc, argv); |
| 47 base::MessageLoopForUI message_loop; | 47 base::MessageLoopForUI message_loop; |
| 48 | 48 |
| 49 GTFMain(argc, argv); | 49 GTFMain(argc, argv); |
| 50 | 50 |
| 51 return 0; | 51 return 0; |
| 52 } | 52 } |
| OLD | NEW |