| 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 "content/browser/browser_url_handler.h" | |
| 6 #include "content/browser/renderer_host/test_backing_store.h" | 5 #include "content/browser/renderer_host/test_backing_store.h" |
| 7 #include "content/browser/renderer_host/test_render_view_host.h" | 6 #include "content/browser/renderer_host/test_render_view_host.h" |
| 8 #include "content/browser/site_instance_impl.h" | 7 #include "content/browser/site_instance_impl.h" |
| 9 #include "content/browser/tab_contents/navigation_controller_impl.h" | 8 #include "content/browser/tab_contents/navigation_controller_impl.h" |
| 10 #include "content/browser/tab_contents/navigation_entry_impl.h" | 9 #include "content/browser/tab_contents/navigation_entry_impl.h" |
| 11 #include "content/browser/tab_contents/test_tab_contents.h" | 10 #include "content/browser/tab_contents/test_tab_contents.h" |
| 12 #include "content/common/dom_storage_common.h" | 11 #include "content/common/dom_storage_common.h" |
| 13 #include "content/common/view_messages.h" | 12 #include "content/common/view_messages.h" |
| 14 #include "content/public/browser/navigation_controller.h" | 13 #include "content/public/browser/navigation_controller.h" |
| 15 #include "content/public/common/content_client.h" | 14 #include "content/public/common/content_client.h" |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 #endif | 430 #endif |
| 432 | 431 |
| 433 // Make sure that we flush any messages related to TabContents destruction | 432 // Make sure that we flush any messages related to TabContents destruction |
| 434 // before we destroy the browser context. | 433 // before we destroy the browser context. |
| 435 MessageLoop::current()->RunAllPending(); | 434 MessageLoop::current()->RunAllPending(); |
| 436 | 435 |
| 437 // Release the browser context on the UI thread. | 436 // Release the browser context on the UI thread. |
| 438 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); | 437 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); |
| 439 message_loop_.RunAllPending(); | 438 message_loop_.RunAllPending(); |
| 440 } | 439 } |
| OLD | NEW |