| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/first_run.h" | 5 #include "chrome/browser/first_run/first_run.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 // TODO(port): move more code in back from the first_run_win.cc module. | 9 // TODO(port): move more code in back from the first_run_win.cc module. |
| 10 | 10 |
| 11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
| 12 #include "chrome/installer/util/install_util.h" | 12 #include "chrome/installer/util/install_util.h" |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 void FirstRunImportObserver::RunLoop() { | 214 void FirstRunImportObserver::RunLoop() { |
| 215 loop_running_ = true; | 215 loop_running_ = true; |
| 216 MessageLoop::current()->Run(); | 216 MessageLoop::current()->Run(); |
| 217 } | 217 } |
| 218 | 218 |
| 219 void FirstRunImportObserver::Finish() { | 219 void FirstRunImportObserver::Finish() { |
| 220 if (loop_running_) | 220 if (loop_running_) |
| 221 MessageLoop::current()->Quit(); | 221 MessageLoop::current()->Quit(); |
| 222 } | 222 } |
| 223 | 223 |
| OLD | NEW |