| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_MANAGER_H_ | 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_MANAGER_H_ |
| 6 #define CHROME_TEST_BASE_TESTING_PROFILE_MANAGER_H_ | 6 #define CHROME_TEST_BASE_TESTING_PROFILE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
| 14 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
| 16 #include "chrome/test/base/scoped_testing_local_state.h" | 17 #include "chrome/test/base/scoped_testing_local_state.h" |
| 17 #include "chrome/test/base/testing_profile.h" | 18 #include "chrome/test/base/testing_profile.h" |
| 18 | 19 |
| 19 class ProfileInfoCache; | 20 class ProfileInfoCache; |
| 20 class ProfileManager; | 21 class ProfileManager; |
| 21 class TestingBrowserProcess; | 22 class TestingBrowserProcess; |
| 22 class TestingProfile; | 23 class TestingProfile; |
| 23 | 24 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // Weak reference to the profile manager. | 129 // Weak reference to the profile manager. |
| 129 ProfileManager* profile_manager_; | 130 ProfileManager* profile_manager_; |
| 130 | 131 |
| 131 // Map of profile_name to TestingProfile* from CreateTestingProfile(). | 132 // Map of profile_name to TestingProfile* from CreateTestingProfile(). |
| 132 TestingProfilesMap testing_profiles_; | 133 TestingProfilesMap testing_profiles_; |
| 133 | 134 |
| 134 DISALLOW_COPY_AND_ASSIGN(TestingProfileManager); | 135 DISALLOW_COPY_AND_ASSIGN(TestingProfileManager); |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 #endif // CHROME_TEST_BASE_TESTING_PROFILE_MANAGER_H_ | 138 #endif // CHROME_TEST_BASE_TESTING_PROFILE_MANAGER_H_ |
| OLD | NEW |