OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test/base/in_process_browser_test.h" | 5 #include "chrome/test/base/in_process_browser_test.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
8 #include "base/auto_reset.h" | 8 #include "base/auto_reset.h" |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 // On the Mac, this eventually reaches | 591 // On the Mac, this eventually reaches |
592 // -[BrowserWindowController windowWillClose:], which will post a deferred | 592 // -[BrowserWindowController windowWillClose:], which will post a deferred |
593 // -autorelease on itself to ultimately destroy the Browser object. The line | 593 // -autorelease on itself to ultimately destroy the Browser object. The line |
594 // below is necessary to pump these pending messages to ensure all Browsers | 594 // below is necessary to pump these pending messages to ensure all Browsers |
595 // get deleted. | 595 // get deleted. |
596 content::RunAllPendingInMessageLoop(); | 596 content::RunAllPendingInMessageLoop(); |
597 delete autorelease_pool_; | 597 delete autorelease_pool_; |
598 autorelease_pool_ = NULL; | 598 autorelease_pool_ = NULL; |
599 #endif | 599 #endif |
600 } | 600 } |
OLD | NEW |