OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/profiles/profile_info_cache_unittest.h" | 5 #include "chrome/browser/profiles/profile_info_cache_unittest.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/prefs/testing_pref_service.h" | 11 #include "base/prefs/testing_pref_service.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/chrome_notification_types.h" | 16 #include "chrome/browser/chrome_notification_types.h" |
17 #include "chrome/browser/prefs/pref_service_syncable.h" | 17 #include "chrome/browser/prefs/pref_service_syncable.h" |
18 #include "chrome/browser/profiles/profile_avatar_downloader.h" | 18 #include "chrome/browser/profiles/profile_avatar_downloader.h" |
19 #include "chrome/browser/profiles/profile_avatar_icon_util.h" | 19 #include "chrome/browser/profiles/profile_avatar_icon_util.h" |
20 #include "chrome/browser/profiles/profile_info_cache.h" | 20 #include "chrome/browser/profiles/profile_info_cache.h" |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 EXPECT_EQ(name_1, GetCache()->GetNameOfProfileAtIndex( | 665 EXPECT_EQ(name_1, GetCache()->GetNameOfProfileAtIndex( |
666 GetCache()->GetIndexOfProfileWithPath(path_1))); | 666 GetCache()->GetIndexOfProfileWithPath(path_1))); |
667 EXPECT_EQ(name_2, GetCache()->GetNameOfProfileAtIndex( | 667 EXPECT_EQ(name_2, GetCache()->GetNameOfProfileAtIndex( |
668 GetCache()->GetIndexOfProfileWithPath(path_2))); | 668 GetCache()->GetIndexOfProfileWithPath(path_2))); |
669 EXPECT_EQ(name_3, GetCache()->GetNameOfProfileAtIndex( | 669 EXPECT_EQ(name_3, GetCache()->GetNameOfProfileAtIndex( |
670 GetCache()->GetIndexOfProfileWithPath(path_3))); | 670 GetCache()->GetIndexOfProfileWithPath(path_3))); |
671 EXPECT_EQ(name_4, GetCache()->GetNameOfProfileAtIndex( | 671 EXPECT_EQ(name_4, GetCache()->GetNameOfProfileAtIndex( |
672 GetCache()->GetIndexOfProfileWithPath(path_4))); | 672 GetCache()->GetIndexOfProfileWithPath(path_4))); |
673 } | 673 } |
674 | 674 |
OLD | NEW |