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" | |
13 #include "base/histogram.h" | 12 #include "base/histogram.h" |
14 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
15 #include "base/path_service.h" | 14 #include "base/path_service.h" |
16 #include "base/process_util.h" | 15 #include "base/process_util.h" |
17 #include "base/registry.h" | 16 #include "base/registry.h" |
18 #include "base/string_piece.h" | 17 #include "base/string_piece.h" |
19 #include "base/string_util.h" | 18 #include "base/string_util.h" |
20 #include "base/tracked_objects.h" | 19 #include "base/tracked_objects.h" |
21 #include "base/win_util.h" | 20 #include "base/win_util.h" |
22 #include "chrome/app/result_codes.h" | 21 #include "chrome/app/result_codes.h" |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 // The following should ONLY be called when in single threaded mode. It is | 600 // The following should ONLY be called when in single threaded mode. It is |
602 // unsafe to do this cleanup if other threads are still active. | 601 // unsafe to do this cleanup if other threads are still active. |
603 // It is also very unnecessary, so I'm only doing this in debug to satisfy | 602 // It is also very unnecessary, so I'm only doing this in debug to satisfy |
604 // purify. | 603 // purify. |
605 if (tracking_objects) | 604 if (tracking_objects) |
606 tracked_objects::ThreadData::ShutdownSingleThreadedCleanup(); | 605 tracked_objects::ThreadData::ShutdownSingleThreadedCleanup(); |
607 #endif // NDEBUG | 606 #endif // NDEBUG |
608 | 607 |
609 return result_code; | 608 return result_code; |
610 } | 609 } |
OLD | NEW |