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

Side by Side Diff: components/autofill/core/browser/autofill_metrics_unittest.cc

Issue 684513002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 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_metrics.h" 5 #include "components/autofill/core/browser/autofill_metrics.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 bool autofill_enabled_; 224 bool autofill_enabled_;
225 scoped_ptr<base::RunLoop> run_loop_; 225 scoped_ptr<base::RunLoop> run_loop_;
226 226
227 DISALLOW_COPY_AND_ASSIGN(TestAutofillManager); 227 DISALLOW_COPY_AND_ASSIGN(TestAutofillManager);
228 }; 228 };
229 229
230 } // namespace 230 } // namespace
231 231
232 class AutofillMetricsTest : public testing::Test { 232 class AutofillMetricsTest : public testing::Test {
233 public: 233 public:
234 virtual ~AutofillMetricsTest(); 234 ~AutofillMetricsTest() override;
235 235
236 virtual void SetUp() override; 236 void SetUp() override;
237 virtual void TearDown() override; 237 void TearDown() override;
238 238
239 protected: 239 protected:
240 base::MessageLoop message_loop_; 240 base::MessageLoop message_loop_;
241 TestAutofillClient autofill_client_; 241 TestAutofillClient autofill_client_;
242 scoped_ptr<TestAutofillDriver> autofill_driver_; 242 scoped_ptr<TestAutofillDriver> autofill_driver_;
243 scoped_ptr<TestAutofillManager> autofill_manager_; 243 scoped_ptr<TestAutofillManager> autofill_manager_;
244 scoped_ptr<TestPersonalDataManager> personal_data_; 244 scoped_ptr<TestPersonalDataManager> personal_data_;
245 scoped_ptr<AutofillExternalDelegate> external_delegate_; 245 scoped_ptr<AutofillExternalDelegate> external_delegate_;
246 }; 246 };
247 247
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 autofill_manager_->OnFormsSeen(second_forms, 1082 autofill_manager_->OnFormsSeen(second_forms,
1083 TimeTicks::FromInternalValue(5)); 1083 TimeTicks::FromInternalValue(5));
1084 autofill_manager_->FormSubmitted(second_form, 1084 autofill_manager_->FormSubmitted(second_form,
1085 TimeTicks::FromInternalValue(17)); 1085 TimeTicks::FromInternalValue(17));
1086 autofill_manager_->Reset(); 1086 autofill_manager_->Reset();
1087 Mock::VerifyAndClearExpectations(autofill_manager_->metric_logger()); 1087 Mock::VerifyAndClearExpectations(autofill_manager_->metric_logger());
1088 } 1088 }
1089 } 1089 }
1090 1090
1091 } // namespace autofill 1091 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698