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 <stddef.h> |
| 6 |
5 #include "base/command_line.h" | 7 #include "base/command_line.h" |
6 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
7 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
8 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
9 #include "content/browser/browser_thread_impl.h" | 11 #include "content/browser/browser_thread_impl.h" |
10 #include "content/browser/browsing_instance.h" | 12 #include "content/browser/browsing_instance.h" |
11 #include "content/browser/child_process_security_policy_impl.h" | 13 #include "content/browser/child_process_security_policy_impl.h" |
12 #include "content/browser/frame_host/navigation_entry_impl.h" | 14 #include "content/browser/frame_host/navigation_entry_impl.h" |
13 #include "content/browser/renderer_host/render_process_host_impl.h" | 15 #include "content/browser/renderer_host/render_process_host_impl.h" |
14 #include "content/browser/renderer_host/render_view_host_impl.h" | 16 #include "content/browser/renderer_host/render_view_host_impl.h" |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 EXPECT_TRUE(instance->GetSiteURL().is_empty()); | 778 EXPECT_TRUE(instance->GetSiteURL().is_empty()); |
777 host.reset(instance->GetProcess()); | 779 host.reset(instance->GetProcess()); |
778 | 780 |
779 EXPECT_FALSE(RenderProcessHostImpl::GetProcessHostForSite( | 781 EXPECT_FALSE(RenderProcessHostImpl::GetProcessHostForSite( |
780 browser_context.get(), GURL())); | 782 browser_context.get(), GURL())); |
781 | 783 |
782 DrainMessageLoops(); | 784 DrainMessageLoops(); |
783 } | 785 } |
784 | 786 |
785 } // namespace content | 787 } // namespace content |
OLD | NEW |