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_H_ | 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ |
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/scoped_temp_dir.h" | 13 #include "base/scoped_temp_dir.h" |
14 #include "base/timer.h" | 14 #include "base/timer.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class MockResourceContext; | 18 class MockResourceContext; |
19 } | 19 } |
20 | 20 |
| 21 namespace extensions { |
| 22 class ExtensionPrefs; |
| 23 } |
| 24 |
21 namespace history { | 25 namespace history { |
22 class TopSites; | 26 class TopSites; |
23 } | 27 } |
24 | 28 |
25 namespace net { | 29 namespace net { |
26 class CookieMonster; | 30 class CookieMonster; |
27 class URLRequestContextGetter; | 31 class URLRequestContextGetter; |
28 } | 32 } |
29 | 33 |
30 namespace quota { | 34 namespace quota { |
31 class SpecialStoragePolicy; | 35 class SpecialStoragePolicy; |
32 } | 36 } |
33 | 37 |
34 class CommandLine; | 38 class CommandLine; |
35 class ExtensionPrefs; | |
36 class ExtensionSpecialStoragePolicy; | 39 class ExtensionSpecialStoragePolicy; |
37 class FaviconService; | 40 class FaviconService; |
38 class HostContentSettingsMap; | 41 class HostContentSettingsMap; |
39 class PrefService; | 42 class PrefService; |
40 class ProfileDependencyManager; | 43 class ProfileDependencyManager; |
41 class ProfileSyncService; | 44 class ProfileSyncService; |
42 class TemplateURLService; | 45 class TemplateURLService; |
43 class TestingPrefService; | 46 class TestingPrefService; |
44 | 47 |
45 class TestingProfile : public Profile { | 48 class TestingProfile : public Profile { |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // testing. | 303 // testing. |
301 ProfileDependencyManager* profile_dependency_manager_; | 304 ProfileDependencyManager* profile_dependency_manager_; |
302 | 305 |
303 scoped_ptr<content::MockResourceContext> resource_context_; | 306 scoped_ptr<content::MockResourceContext> resource_context_; |
304 | 307 |
305 // Weak pointer to a delegate for indicating that a profile was created. | 308 // Weak pointer to a delegate for indicating that a profile was created. |
306 Delegate* delegate_; | 309 Delegate* delegate_; |
307 }; | 310 }; |
308 | 311 |
309 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 312 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |