| 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 <windows.h> | 5 #include <windows.h> |
| 6 #include <shellapi.h> | 6 #include <shellapi.h> |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/gfx/vector_canvas.h" | 12 #include "base/gfx/vector_canvas.h" |
| 13 #include "base/histogram.h" | 13 #include "base/histogram.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/process_util.h" |
| 15 #include "base/registry.h" | 16 #include "base/registry.h" |
| 16 #include "base/string_util.h" | 17 #include "base/string_util.h" |
| 17 #include "base/tracked_objects.h" | 18 #include "base/tracked_objects.h" |
| 18 #include "base/win_util.h" | 19 #include "base/win_util.h" |
| 19 #include "chrome/app/result_codes.h" | 20 #include "chrome/app/result_codes.h" |
| 20 #include "chrome/browser/automation/automation_provider.h" | 21 #include "chrome/browser/automation/automation_provider.h" |
| 21 #include "chrome/browser/browser.h" | 22 #include "chrome/browser/browser.h" |
| 22 #include "chrome/browser/browser_init.h" | 23 #include "chrome/browser/browser_init.h" |
| 23 #include "chrome/browser/browser_list.h" | 24 #include "chrome/browser/browser_list.h" |
| 24 #include "chrome/browser/browser_prefs.h" | 25 #include "chrome/browser/browser_prefs.h" |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 // unsafe to do this cleanup if other threads are still active. | 599 // unsafe to do this cleanup if other threads are still active. |
| 599 // It is also very unnecessary, so I'm only doing this in debug to satisfy | 600 // It is also very unnecessary, so I'm only doing this in debug to satisfy |
| 600 // purify. | 601 // purify. |
| 601 if (tracking_objects) | 602 if (tracking_objects) |
| 602 tracked_objects::ThreadData::ShutdownSingleThreadedCleanup(); | 603 tracked_objects::ThreadData::ShutdownSingleThreadedCleanup(); |
| 603 #endif // NDEBUG | 604 #endif // NDEBUG |
| 604 | 605 |
| 605 return result_code; | 606 return result_code; |
| 606 } | 607 } |
| 607 | 608 |
| OLD | NEW |