Index: chrome/test/base/testing_profile_manager.h |
diff --git a/chrome/test/base/testing_profile_manager.h b/chrome/test/base/testing_profile_manager.h |
index 01f331760e10360e63b0785f666dc70b0f2857d2..c2af62af42846784badc35207f95d21fcb57e71a 100644 |
--- a/chrome/test/base/testing_profile_manager.h |
+++ b/chrome/test/base/testing_profile_manager.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "chrome/test/base/scoped_testing_local_state.h" |
+#include "chrome/test/base/testing_profile.h" |
class PrefServiceSyncable; |
class ProfileInfoCache; |
@@ -47,11 +48,14 @@ class TestingProfileManager { |
// ProfileInfoCache and provide the user-visible profile metadata. This will |
// register the TestingProfile with the profile subsystem as well. The |
// subsystem owns the Profile and returns a weak pointer. |
- TestingProfile* CreateTestingProfile(const std::string& profile_name, |
- scoped_ptr<PrefServiceSyncable> prefs, |
- const string16& user_name, |
- int avatar_id, |
- const std::string& managed_user_id); |
+ // |factories| contains BCKSs to use with the newly created profile. |
+ TestingProfile* CreateTestingProfile( |
+ const std::string& profile_name, |
+ scoped_ptr<PrefServiceSyncable> prefs, |
+ const string16& user_name, |
+ int avatar_id, |
+ const std::string& managed_user_id, |
+ const TestingProfile::TestingFactories& factories); |
// Small helper for creating testing profiles. Just forwards to above. |
TestingProfile* CreateTestingProfile(const std::string& name); |