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

Unified Diff: chrome/test/base/testing_profile_manager.cc

Issue 1599013002: Follow-up of Improve the ProfileInfoCache API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
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";
« chrome/browser/profiles/profile_statistics.cc ('K') | « chrome/test/base/testing_profile_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698