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

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

Issue 108283005: Moved ipc-specific files from autofill/core to autofill/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Final" fix. Created 7 years 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
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/strings/utf_string_conversions.h" 5 #include "base/strings/utf_string_conversions.h"
6 #include "chrome/test/base/chrome_render_view_test.h" 6 #include "chrome/test/base/chrome_render_view_test.h"
7 #include "components/autofill/content/common/autofill_messages.h"
7 #include "components/autofill/content/renderer/autofill_agent.h" 8 #include "components/autofill/content/renderer/autofill_agent.h"
8 #include "components/autofill/core/common/autofill_messages.h"
9 #include "components/autofill/core/common/form_data.h" 9 #include "components/autofill/core/common/form_data.h"
10 #include "components/autofill/core/common/form_field_data.h" 10 #include "components/autofill/core/common/form_field_data.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/WebKit/public/platform/WebString.h" 12 #include "third_party/WebKit/public/platform/WebString.h"
13 #include "third_party/WebKit/public/web/WebDocument.h" 13 #include "third_party/WebKit/public/web/WebDocument.h"
14 #include "third_party/WebKit/public/web/WebInputElement.h" 14 #include "third_party/WebKit/public/web/WebInputElement.h"
15 15
16 using blink::WebDocument; 16 using blink::WebDocument;
17 using blink::WebFrame; 17 using blink::WebFrame;
18 using blink::WebInputElement; 18 using blink::WebInputElement;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 autofill_agent_->InputElementClicked(middlename, true, true); 197 autofill_agent_->InputElementClicked(middlename, true, true);
198 const IPC::Message* message2 = render_thread_->sink().GetFirstMessageMatching( 198 const IPC::Message* message2 = render_thread_->sink().GetFirstMessageMatching(
199 AutofillHostMsg_QueryFormFieldAutofill::ID); 199 AutofillHostMsg_QueryFormFieldAutofill::ID);
200 ASSERT_NE(static_cast<IPC::Message*>(NULL), message2); 200 ASSERT_NE(static_cast<IPC::Message*>(NULL), message2);
201 201
202 AutofillHostMsg_QueryFormFieldAutofill::Read(message2, &query_param); 202 AutofillHostMsg_QueryFormFieldAutofill::Read(message2, &query_param);
203 EXPECT_TRUE(query_param.e); 203 EXPECT_TRUE(query_param.e);
204 } 204 }
205 205
206 } // namespace autofill 206 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698