| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 root->current_frame_host()->GetProcess()->GetChannel(), msg); | 547 root->current_frame_host()->GetProcess()->GetChannel(), msg); |
| 548 | 548 |
| 549 // When the IPC message is received and validation fails, the process is | 549 // When the IPC message is received and validation fails, the process is |
| 550 // terminated. However, the notification for that should be processed in a | 550 // terminated. However, the notification for that should be processed in a |
| 551 // separate task of the message loop, so ensure that the process is still | 551 // separate task of the message loop, so ensure that the process is still |
| 552 // considered alive. | 552 // considered alive. |
| 553 EXPECT_TRUE(root->current_frame_host()->GetProcess()->HasConnection()); | 553 EXPECT_TRUE(root->current_frame_host()->GetProcess()->HasConnection()); |
| 554 | 554 |
| 555 exit_observer.Wait(); | 555 exit_observer.Wait(); |
| 556 EXPECT_FALSE(exit_observer.did_exit_normally()); | 556 EXPECT_FALSE(exit_observer.did_exit_normally()); |
| 557 ResourceDispatcherHost::Get()->SetDelegate(nullptr); |
| 557 } | 558 } |
| 558 | 559 |
| 559 } // namespace content | 560 } // namespace content |
| OLD | NEW |