Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 <memory> | |
|
Mathieu
2016/04/04 13:15:46
not sure if this is needed anymore?
vabr (Chromium)
2016/04/04 13:28:41
Good catch!
Removed, because there is no unique_pt
| |
| 5 #include <string> | 6 #include <string> |
| 6 | 7 |
| 7 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 8 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 9 #include "base/macros.h" | 10 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | |
| 12 #include "base/rand_util.h" | 12 #include "base/rand_util.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
| 19 #include "chrome/browser/autofill/autofill_uitest_util.h" | 19 #include "chrome/browser/autofill/autofill_uitest_util.h" |
| 20 #include "chrome/browser/chrome_notification_types.h" | 20 #include "chrome/browser/chrome_notification_types.h" |
| 21 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
| (...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1504 ASSERT_NO_FATAL_FAILURE(ui_test_utils::NavigateToURL(browser(), | 1504 ASSERT_NO_FATAL_FAILURE(ui_test_utils::NavigateToURL(browser(), |
| 1505 GURL(std::string(kDataURIPrefix) + kTestPasswordFormString))); | 1505 GURL(std::string(kDataURIPrefix) + kTestPasswordFormString))); |
| 1506 ASSERT_TRUE(content::ExecuteScript( | 1506 ASSERT_TRUE(content::ExecuteScript( |
| 1507 GetRenderViewHost(), | 1507 GetRenderViewHost(), |
| 1508 "document.getElementById('user').value = 'user';")); | 1508 "document.getElementById('user').value = 'user';")); |
| 1509 FocusFieldByName("password"); | 1509 FocusFieldByName("password"); |
| 1510 PasteStringAndWait("foobar"); | 1510 PasteStringAndWait("foobar"); |
| 1511 } | 1511 } |
| 1512 | 1512 |
| 1513 } // namespace autofill | 1513 } // namespace autofill |
| OLD | NEW |