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

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

Issue 11830028: Update some #includes in chrome/renderer/autofill/ for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 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
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/common/form_data.h" 7 #include "chrome/common/form_data.h"
8 #include "chrome/common/form_field_data.h" 8 #include "chrome/common/form_field_data.h"
9 #include "chrome/test/base/chrome_render_view_test.h" 9 #include "chrome/test/base/chrome_render_view_test.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
14 14
15 using WebKit::WebDocument; 15 using WebKit::WebDocument;
16 using WebKit::WebFrame; 16 using WebKit::WebFrame;
17 using WebKit::WebInputElement; 17 using WebKit::WebInputElement;
18 using WebKit::WebString; 18 using WebKit::WebString;
19 19
20 namespace autofill { 20 namespace autofill {
21 21
22 TEST_F(ChromeRenderViewTest, SendForms) { 22 TEST_F(ChromeRenderViewTest, SendForms) {
23 // Don't want any delay for form state sync changes. This will still post a 23 // Don't want any delay for form state sync changes. This will still post a
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 autofill_agent_->InputElementClicked(middlename, true, true); 213 autofill_agent_->InputElementClicked(middlename, true, true);
214 const IPC::Message* message2 = render_thread_->sink().GetFirstMessageMatching( 214 const IPC::Message* message2 = render_thread_->sink().GetFirstMessageMatching(
215 AutofillHostMsg_QueryFormFieldAutofill::ID); 215 AutofillHostMsg_QueryFormFieldAutofill::ID);
216 ASSERT_NE(static_cast<IPC::Message*>(NULL), message2); 216 ASSERT_NE(static_cast<IPC::Message*>(NULL), message2);
217 // TODO(isherman): It would be nice to verify here that the message includes 217 // TODO(isherman): It would be nice to verify here that the message includes
218 // the correct data. I'm not sure how to extract that information from an 218 // the correct data. I'm not sure how to extract that information from an
219 // IPC::Message though. 219 // IPC::Message though.
220 } 220 }
221 221
222 } // namespace autofill 222 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/autofill_agent.cc ('k') | chrome/renderer/autofill/form_autocomplete_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698