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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 <tuple> 5 #include <tuple>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/test/base/chrome_render_view_test.h" 12 #include "chrome/test/base/chrome_render_view_test.h"
14 #include "chrome/test/base/ui_test_utils.h" 13 #include "chrome/test/base/ui_test_utils.h"
15 #include "components/autofill/content/common/autofill_driver.mojom.h" 14 #include "components/autofill/content/common/autofill_driver.mojom.h"
16 #include "components/autofill/content/renderer/autofill_agent.h" 15 #include "components/autofill/content/renderer/autofill_agent.h"
17 #include "components/autofill/core/common/form_data.h" 16 #include "components/autofill/core/common/form_data.h"
18 #include "components/autofill/core/common/form_field_data.h" 17 #include "components/autofill/core/common/form_field_data.h"
19 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
20 #include "content/public/renderer/render_frame.h" 19 #include "content/public/renderer/render_frame.h"
21 #include "content/public/renderer/render_view.h" 20 #include "content/public/renderer/render_view.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 base::RunLoop().RunUntilIdle(); 336 base::RunLoop().RunUntilIdle();
338 ASSERT_FALSE(fake_driver_.called_field_change()); 337 ASSERT_FALSE(fake_driver_.called_field_change());
339 338
340 // A user gesture will send a message to the browser. 339 // A user gesture will send a message to the browser.
341 EnableUserGestureSimulationForAutofill(); 340 EnableUserGestureSimulationForAutofill();
342 SimulateUserInputChangeForElement(&full_name, "Alice"); 341 SimulateUserInputChangeForElement(&full_name, "Alice");
343 ASSERT_TRUE(fake_driver_.called_field_change()); 342 ASSERT_TRUE(fake_driver_.called_field_change());
344 } 343 }
345 344
346 } // namespace autofill 345 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/installer/util/master_preferences_unittest.cc ('k') | chrome/renderer/media/cast_rtp_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698