Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: chrome/renderer/autofill/autofill_renderer_browsertest.cc

Issue 10821055: Rename renderer/autofill/autofill_browsertest.cc to be unique. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace change to force autofill_browsertest recompilation. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/autofill/autofill_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "chrome/common/autofill_messages.h" 6 #include "chrome/common/autofill_messages.h"
7 #include "chrome/test/base/chrome_render_view_test.h" 7 #include "chrome/test/base/chrome_render_view_test.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 const IPC::Message* message2 = 167 const IPC::Message* message2 =
168 render_thread_->sink().GetUniqueMessageMatching( 168 render_thread_->sink().GetUniqueMessageMatching(
169 AutofillHostMsg_FillAutofillFormData::ID); 169 AutofillHostMsg_FillAutofillFormData::ID);
170 170
171 // No message should be sent in this case. |firstname| is filled directly. 171 // No message should be sent in this case. |firstname| is filled directly.
172 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2); 172 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2);
173 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David")); 173 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David"));
174 } 174 }
175 175
176 } // namespace autofill 176 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/autofill_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698