| 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 <deque> | 5 #include <deque> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 true); // by_user | 875 true); // by_user |
| 876 | 876 |
| 877 ASSERT_EQ(0, GetNotificationCount()); | 877 ASSERT_EQ(0, GetNotificationCount()); |
| 878 | 878 |
| 879 // Calling WebContents::IsCrashed() will return FALSE here, even if the WC did | 879 // Calling WebContents::IsCrashed() will return FALSE here, even if the WC did |
| 880 // crash. Work around this timing issue by creating another notification, | 880 // crash. Work around this timing issue by creating another notification, |
| 881 // which requires interaction with the renderer process. | 881 // which requires interaction with the renderer process. |
| 882 result = CreateNotification(browser(), true, "", "Title1", "Body1", "chat"); | 882 result = CreateNotification(browser(), true, "", "Title1", "Body1", "chat"); |
| 883 EXPECT_NE("-1", result); | 883 EXPECT_NE("-1", result); |
| 884 } | 884 } |
| OLD | NEW |