OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
| 7 #if defined(OS_WIN) |
| 8 #include <windows.h> |
| 9 #include <commctrl.h> |
| 10 #endif |
| 11 |
7 #include <algorithm> | 12 #include <algorithm> |
8 | 13 |
9 #include "app/l10n_util.h" | 14 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 15 #include "app/resource_bundle.h" |
11 #include "base/command_line.h" | 16 #include "base/command_line.h" |
12 #include "base/field_trial.h" | 17 #include "base/field_trial.h" |
13 #include "base/file_util.h" | 18 #include "base/file_util.h" |
14 #include "base/histogram.h" | 19 #include "base/histogram.h" |
15 #include "base/lazy_instance.h" | 20 #include "base/lazy_instance.h" |
16 #include "base/scoped_nsautorelease_pool.h" | 21 #include "base/scoped_nsautorelease_pool.h" |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 if (metrics) | 663 if (metrics) |
659 metrics->Stop(); | 664 metrics->Stop(); |
660 | 665 |
661 // browser_shutdown takes care of deleting browser_process, so we need to | 666 // browser_shutdown takes care of deleting browser_process, so we need to |
662 // release it. | 667 // release it. |
663 browser_process.release(); | 668 browser_process.release(); |
664 browser_shutdown::Shutdown(); | 669 browser_shutdown::Shutdown(); |
665 | 670 |
666 return result_code; | 671 return result_code; |
667 } | 672 } |
OLD | NEW |