Index: trunk/src/chrome/test/base/testing_profile_manager.h |
=================================================================== |
--- trunk/src/chrome/test/base/testing_profile_manager.h (revision 207797) |
+++ trunk/src/chrome/test/base/testing_profile_manager.h (working copy) |
@@ -10,11 +10,9 @@ |
#include "base/compiler_specific.h" |
#include "base/files/scoped_temp_dir.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "chrome/test/base/scoped_testing_local_state.h" |
-class PrefServiceSyncable; |
class ProfileInfoCache; |
class ProfileManager; |
class TestingBrowserProcess; |
@@ -40,14 +38,11 @@ |
// Creates a new TestingProfile whose data lives in a directory related to |
// profile_name, which is a non-user-visible key for the test environment. |
- // |prefs| is the PrefService used by the profile. If it is NULL, the profile |
- // creates a PrefService on demand. |
// |user_name| and |avatar_id| are passed along to the 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); |