| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <atlbase.h> | 5 #include <atlbase.h> |
| 6 #include <atlapp.h> // NOLINT | 6 #include <atlapp.h> // NOLINT |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 7 | 9 |
| 8 #include "base/at_exit.h" | 10 #include "base/at_exit.h" |
| 9 #include "base/bind.h" | 11 #include "base/bind.h" |
| 10 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
| 11 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 12 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
| 13 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 14 #include "base/message_loop/message_pump_dispatcher.h" | 16 #include "base/message_loop/message_pump_dispatcher.h" |
| 15 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
| 16 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 | 456 |
| 455 base::MessageLoopForUI loop; | 457 base::MessageLoopForUI loop; |
| 456 scoped_refptr<SetupDialog> dialog(new SetupDialog()); | 458 scoped_refptr<SetupDialog> dialog(new SetupDialog()); |
| 457 dialog->Create(NULL); | 459 dialog->Create(NULL); |
| 458 dialog->ShowWindow(SW_SHOW); | 460 dialog->ShowWindow(SW_SHOW); |
| 459 SetupDialog::Dispatcher dispatcher(dialog.get()); | 461 SetupDialog::Dispatcher dispatcher(dialog.get()); |
| 460 base::RunLoop run_loop(&dispatcher); | 462 base::RunLoop run_loop(&dispatcher); |
| 461 run_loop.Run(); | 463 run_loop.Run(); |
| 462 return 0; | 464 return 0; |
| 463 } | 465 } |
| OLD | NEW |