Index: chrome/test/base/testing_profile_manager.cc |
diff --git a/chrome/test/base/testing_profile_manager.cc b/chrome/test/base/testing_profile_manager.cc |
index 2d876eda5c76fd8caac3ec49fc7c3ddcc660039f..2727a7def4ac0fcd7d63fe9594bb5ef931705058 100644 |
--- a/chrome/test/base/testing_profile_manager.cc |
+++ b/chrome/test/base/testing_profile_manager.cc |
@@ -10,6 +10,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/strings/utf_string_conversions.h" |
#include "build/build_config.h" |
+#include "chrome/browser/profiles/profile_attributes_storage.h" |
#include "chrome/browser/profiles/profile_info_cache.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/common/chrome_constants.h" |
@@ -235,6 +236,10 @@ ProfileInfoCache* TestingProfileManager::profile_info_cache() { |
return &profile_manager_->GetProfileInfoCache(); |
} |
+ProfileAttributesStorage* TestingProfileManager::profile_attributes_storage() { |
+ return profile_info_cache(); |
sky
2016/01/20 16:19:55
Why do you need this function? Can't callers use p
lwchkg
2016/01/21 14:41:17
1. We plan to replace profile_info_cache() by this
|
+} |
+ |
void TestingProfileManager::SetUpInternal() { |
ASSERT_FALSE(browser_process_->profile_manager()) |
<< "ProfileManager already exists"; |