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

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

Issue 59883010: This is the fourth CL of several that will eventually replace TokenService with (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change LOG(INFO) to VLOG(1) Created 7 years, 1 month 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.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);
« no previous file with comments | « chrome/browser/ui/cocoa/profile_menu_controller_unittest.mm ('k') | chrome/test/base/testing_profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698