| Index: chrome/browser/profiles/profile_statistics_unittest.cc
|
| diff --git a/chrome/browser/profiles/profile_statistics_unittest.cc b/chrome/browser/profiles/profile_statistics_unittest.cc
|
| index e484b953260f76077d0468bf24fac8e4e6ad6ec9..befdf7ec3332445290fee5127f2d818a9ff94698 100644
|
| --- a/chrome/browser/profiles/profile_statistics_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_statistics_unittest.cc
|
| @@ -8,6 +8,8 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "chrome/browser/profiles/profile_statistics.h"
|
| +#include "chrome/browser/profiles/profile_statistics_constants.h"
|
| +#include "chrome/browser/profiles/profile_statistics_types.h"
|
| #include "chrome/test/base/testing_browser_process.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| #include "chrome/test/base/testing_profile_manager.h"
|
| @@ -19,7 +21,7 @@ void VerifyStatisticsCache(const base::FilePath& profile_path,
|
| const std::map<std::string, int>& expected,
|
| const std::vector<std::string>& categories_to_check) {
|
| const profiles::ProfileCategoryStats actual =
|
| - profiles::GetProfileStatisticsFromCache(profile_path);
|
| + ProfileStatistics::GetProfileStatisticsFromCache(profile_path);
|
|
|
| EXPECT_EQ(categories_to_check.size(), actual.size());
|
|
|
| @@ -79,8 +81,8 @@ TEST_F(ProfileStatisticsTest, ProfileInfoCacheStorage) {
|
| VerifyStatisticsCache(profile_path, expected, categories_to_check);
|
| // Insert items and test after each insert.
|
| for (const auto& item : insertions) {
|
| - profiles::SetProfileStatisticsInCache(profile_path, item.first,
|
| - item.second);
|
| + ProfileStatistics::SetProfileStatisticsInCache(profile_path, item.first,
|
| + item.second);
|
| expected[item.first] = item.second;
|
| VerifyStatisticsCache(profile_path, expected, categories_to_check);
|
| }
|
|
|