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

Side by Side Diff: chrome/browser/autofill/autofill_metrics_unittest.cc

Issue 6575009: Move files out of chrome\browser\renderer_host\test alongside their source. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 5 #include <vector>
6 6
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/autofill/autofill_common_test.h" 11 #include "chrome/browser/autofill/autofill_common_test.h"
12 #include "chrome/browser/autofill/autofill_manager.h" 12 #include "chrome/browser/autofill/autofill_manager.h"
13 #include "chrome/browser/autofill/autofill_metrics.h" 13 #include "chrome/browser/autofill/autofill_metrics.h"
14 #include "chrome/browser/autofill/personal_data_manager.h" 14 #include "chrome/browser/autofill/personal_data_manager.h"
15 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
16 #include "chrome/browser/tab_contents/test_tab_contents.h"
17 #include "chrome/test/testing_browser_process.h" 15 #include "chrome/test/testing_browser_process.h"
16 #include "content/browser/renderer_host/test_render_view_host.h"
17 #include "content/browser/tab_contents/test_tab_contents.h"
18 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "webkit/glue/form_data.h" 20 #include "webkit/glue/form_data.h"
21 #include "webkit/glue/form_field.h" 21 #include "webkit/glue/form_field.h"
22 22
23 using webkit_glue::FormData; 23 using webkit_glue::FormData;
24 using webkit_glue::FormField; 24 using webkit_glue::FormField;
25 25
26 namespace { 26 namespace {
27 27
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 EXPECT_CALL(*autofill_manager_->metric_logger(), 533 EXPECT_CALL(*autofill_manager_->metric_logger(),
534 Log(AutoFillMetrics::FIELD_SERVER_TYPE_UNKNOWN, experiment_id)); 534 Log(AutoFillMetrics::FIELD_SERVER_TYPE_UNKNOWN, experiment_id));
535 EXPECT_CALL(*autofill_manager_->metric_logger(), 535 EXPECT_CALL(*autofill_manager_->metric_logger(),
536 Log(AutoFillMetrics::FIELD_SUBMITTED, experiment_id)); 536 Log(AutoFillMetrics::FIELD_SUBMITTED, experiment_id));
537 EXPECT_CALL(*autofill_manager_->metric_logger(), 537 EXPECT_CALL(*autofill_manager_->metric_logger(),
538 Log(AutoFillMetrics::FIELD_SUBMITTED, experiment_id)); 538 Log(AutoFillMetrics::FIELD_SUBMITTED, experiment_id));
539 539
540 // Simulate form submission. 540 // Simulate form submission.
541 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form)); 541 EXPECT_NO_FATAL_FAILURE(autofill_manager_->OnFormSubmitted(form));
542 } 542 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager_unittest.cc ('k') | chrome/browser/chromeos/offline/offline_load_page_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698