OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TESTING_PROFILE_H_ | 5 #ifndef CHROME_TEST_TESTING_PROFILE_H_ |
6 #define CHROME_TEST_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_TESTING_PROFILE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 namespace quota { | 27 namespace quota { |
28 class SpecialStoragePolicy; | 28 class SpecialStoragePolicy; |
29 } | 29 } |
30 | 30 |
31 class AutocompleteClassifier; | 31 class AutocompleteClassifier; |
32 class BookmarkModel; | 32 class BookmarkModel; |
33 class CommandLine; | 33 class CommandLine; |
34 class ExtensionPrefs; | 34 class ExtensionPrefs; |
35 class ExtensionPrefStore; | 35 class ExtensionPrefStore; |
36 class ExtensionPrefValueMap; | 36 class ExtensionPrefValueMap; |
| 37 class ExtensionSettings; |
37 class ExtensionSpecialStoragePolicy; | 38 class ExtensionSpecialStoragePolicy; |
38 class FaviconService; | 39 class FaviconService; |
39 class FindBarState; | 40 class FindBarState; |
40 class GeolocationContentSettingsMap; | 41 class GeolocationContentSettingsMap; |
41 class GeolocationPermissionContext; | 42 class GeolocationPermissionContext; |
42 class HistoryService; | 43 class HistoryService; |
43 class HostContentSettingsMap; | 44 class HostContentSettingsMap; |
44 class PrefService; | 45 class PrefService; |
45 class ProfileDependencyManager; | 46 class ProfileDependencyManager; |
46 class ProfileSyncService; | 47 class ProfileSyncService; |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 // Find bar state. Created lazily by GetFindBarState(). | 368 // Find bar state. Created lazily by GetFindBarState(). |
368 scoped_ptr<FindBarState> find_bar_state_; | 369 scoped_ptr<FindBarState> find_bar_state_; |
369 | 370 |
370 FilePath last_selected_directory_; | 371 FilePath last_selected_directory_; |
371 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 372 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
372 | 373 |
373 // The Extension Preferences. Only created if CreateExtensionService is | 374 // The Extension Preferences. Only created if CreateExtensionService is |
374 // invoked. | 375 // invoked. |
375 scoped_ptr<ExtensionPrefs> extension_prefs_; | 376 scoped_ptr<ExtensionPrefs> extension_prefs_; |
376 | 377 |
| 378 // The Extension settings. Only created if CreateExtensionService is |
| 379 // invoked. |
| 380 scoped_ptr<ExtensionSettings> extension_settings_; |
| 381 |
377 scoped_ptr<ExtensionService> extension_service_; | 382 scoped_ptr<ExtensionService> extension_service_; |
378 | 383 |
379 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; | 384 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; |
380 | 385 |
381 scoped_refptr<ExtensionSpecialStoragePolicy> | 386 scoped_refptr<ExtensionSpecialStoragePolicy> |
382 extension_special_storage_policy_; | 387 extension_special_storage_policy_; |
383 | 388 |
384 | 389 |
385 // The proxy prefs tracker. | 390 // The proxy prefs tracker. |
386 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 391 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
(...skipping 19 matching lines...) Expand all Loading... |
406 explicit DerivedTestingProfile(Profile* profile); | 411 explicit DerivedTestingProfile(Profile* profile); |
407 virtual ~DerivedTestingProfile(); | 412 virtual ~DerivedTestingProfile(); |
408 | 413 |
409 virtual ProfileId GetRuntimeId(); | 414 virtual ProfileId GetRuntimeId(); |
410 | 415 |
411 protected: | 416 protected: |
412 Profile* original_profile_; | 417 Profile* original_profile_; |
413 }; | 418 }; |
414 | 419 |
415 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 420 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
OLD | NEW |