| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/keyboard_codes.h" | 8 #include "base/keyboard_codes.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| (...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 0); | 1082 0); |
| 1083 | 1083 |
| 1084 ProcessPendingMessages(); | 1084 ProcessPendingMessages(); |
| 1085 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching( | 1085 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching( |
| 1086 ViewHostMsg_FillAutoFillFormData::ID); | 1086 ViewHostMsg_FillAutoFillFormData::ID); |
| 1087 | 1087 |
| 1088 // No message should be sent in this case. |firstname| is filled directly. | 1088 // No message should be sent in this case. |firstname| is filled directly. |
| 1089 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2); | 1089 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2); |
| 1090 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David")); | 1090 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David")); |
| 1091 } | 1091 } |
| OLD | NEW |