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

Side by Side Diff: chrome/browser/browsing_data/autofill_counter_browsertest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 "chrome/browser/browsing_data/autofill_counter.h" 5 #include "chrome/browser/browsing_data/autofill_counter.h"
6 6
7 #include "base/guid.h" 7 #include "base/guid.h"
8 #include "base/macros.h"
8 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
14 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/web_data_service_factory.h" 16 #include "chrome/browser/web_data_service_factory.h"
16 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
17 #include "chrome/test/base/in_process_browser_test.h" 18 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 counter.SetPeriodStartForTesting(test_case.period_start); 393 counter.SetPeriodStartForTesting(test_case.period_start);
393 counter.Restart(); 394 counter.Restart();
394 WaitForCounting(); 395 WaitForCounting();
395 EXPECT_EQ(test_case.expected_num_suggestions, GetNumSuggestions()); 396 EXPECT_EQ(test_case.expected_num_suggestions, GetNumSuggestions());
396 EXPECT_EQ(test_case.expected_num_credit_cards, GetNumCreditCards()); 397 EXPECT_EQ(test_case.expected_num_credit_cards, GetNumCreditCards());
397 EXPECT_EQ(test_case.expected_num_addresses, GetNumAddresses()); 398 EXPECT_EQ(test_case.expected_num_addresses, GetNumAddresses());
398 } 399 }
399 } 400 }
400 401
401 } // namespace 402 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/browsing_data/browsing_data_appcache_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698