OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "components/autofill/core/browser/autofill_manager.h" | 5 #include "components/autofill/core/browser/autofill_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/feature_list.h" | 15 #include "base/feature_list.h" |
16 #include "base/format_macros.h" | 16 #include "base/format_macros.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "base/memory/scoped_vector.h" | |
21 #include "base/metrics/field_trial.h" | 20 #include "base/metrics/field_trial.h" |
22 #include "base/metrics/metrics_hashes.h" | 21 #include "base/metrics/metrics_hashes.h" |
23 #include "base/run_loop.h" | 22 #include "base/run_loop.h" |
24 #include "base/strings/string16.h" | 23 #include "base/strings/string16.h" |
25 #include "base/strings/string_number_conversions.h" | 24 #include "base/strings/string_number_conversions.h" |
26 #include "base/strings/string_util.h" | 25 #include "base/strings/string_util.h" |
27 #include "base/strings/stringprintf.h" | 26 #include "base/strings/stringprintf.h" |
28 #include "base/strings/utf_string_conversions.h" | 27 #include "base/strings/utf_string_conversions.h" |
29 #include "base/test/histogram_tester.h" | 28 #include "base/test/histogram_tester.h" |
30 #include "base/test/scoped_feature_list.h" | 29 #include "base/test/scoped_feature_list.h" |
(...skipping 7062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7093 | 7092 |
7094 // Wait for upload to complete (will check expected types as well). | 7093 // Wait for upload to complete (will check expected types as well). |
7095 autofill_manager_->WaitForAsyncUploadProcess(); | 7094 autofill_manager_->WaitForAsyncUploadProcess(); |
7096 | 7095 |
7097 EXPECT_EQ(signature, autofill_manager_->GetSubmittedFormSignature()); | 7096 EXPECT_EQ(signature, autofill_manager_->GetSubmittedFormSignature()); |
7098 EXPECT_NE(uploaded_available_types.end(), | 7097 EXPECT_NE(uploaded_available_types.end(), |
7099 uploaded_available_types.find(autofill::PASSWORD)); | 7098 uploaded_available_types.find(autofill::PASSWORD)); |
7100 } | 7099 } |
7101 | 7100 |
7102 } // namespace autofill | 7101 } // namespace autofill |
OLD | NEW |