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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/files/scoped_temp_dir.h" | 12 #include "base/files/scoped_temp_dir.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "build/build_config.h" |
15 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
16 #include "components/domain_reliability/clear_mode.h" | 18 #include "components/domain_reliability/clear_mode.h" |
17 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 19 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
18 | 20 |
19 class BrowserContextDependencyManager; | 21 class BrowserContextDependencyManager; |
20 class ExtensionSpecialStoragePolicy; | 22 class ExtensionSpecialStoragePolicy; |
21 class HostContentSettingsMap; | 23 class HostContentSettingsMap; |
22 | 24 |
23 namespace content { | 25 namespace content { |
24 class MockResourceContext; | 26 class MockResourceContext; |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 | 409 |
408 // Weak pointer to a delegate for indicating that a profile was created. | 410 // Weak pointer to a delegate for indicating that a profile was created. |
409 Delegate* delegate_; | 411 Delegate* delegate_; |
410 | 412 |
411 std::string profile_name_; | 413 std::string profile_name_; |
412 | 414 |
413 scoped_ptr<policy::PolicyService> policy_service_; | 415 scoped_ptr<policy::PolicyService> policy_service_; |
414 }; | 416 }; |
415 | 417 |
416 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |