| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/ref_counted.h" | 9 #include "base/ref_counted.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 geolocation_content_settings_map_; | 402 geolocation_content_settings_map_; |
| 403 scoped_refptr<GeolocationPermissionContext> geolocation_permission_context_; | 403 scoped_refptr<GeolocationPermissionContext> geolocation_permission_context_; |
| 404 scoped_ptr<DesktopNotificationService> desktop_notification_service_; | 404 scoped_ptr<DesktopNotificationService> desktop_notification_service_; |
| 405 | 405 |
| 406 // Find bar state. Created lazily by GetFindBarState(). | 406 // Find bar state. Created lazily by GetFindBarState(). |
| 407 scoped_ptr<FindBarState> find_bar_state_; | 407 scoped_ptr<FindBarState> find_bar_state_; |
| 408 | 408 |
| 409 FilePath last_selected_directory_; | 409 FilePath last_selected_directory_; |
| 410 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 410 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
| 411 | 411 |
| 412 // Extension pref store, created for use by |extension_prefs_|. | |
| 413 scoped_ptr<ExtensionPrefStore> extension_pref_store_; | |
| 414 | |
| 415 // The Extension Preferences. Only created if CreateExtensionService is | 412 // The Extension Preferences. Only created if CreateExtensionService is |
| 416 // invoked. | 413 // invoked. |
| 417 scoped_ptr<ExtensionPrefs> extension_prefs_; | 414 scoped_ptr<ExtensionPrefs> extension_prefs_; |
| 418 | 415 |
| 419 // For properly notifying the ExtensionService when the profile | 416 // For properly notifying the ExtensionService when the profile |
| 420 // is disposed. | 417 // is disposed. |
| 421 scoped_refptr<ExtensionService> extensions_service_; | 418 scoped_refptr<ExtensionService> extensions_service_; |
| 422 | 419 |
| 423 // The proxy prefs tracker. | 420 // The proxy prefs tracker. |
| 424 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 421 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 437 | 434 |
| 438 virtual ProfileId GetRuntimeId() { | 435 virtual ProfileId GetRuntimeId() { |
| 439 return original_profile_->GetRuntimeId(); | 436 return original_profile_->GetRuntimeId(); |
| 440 } | 437 } |
| 441 | 438 |
| 442 protected: | 439 protected: |
| 443 Profile* original_profile_; | 440 Profile* original_profile_; |
| 444 }; | 441 }; |
| 445 | 442 |
| 446 #endif // CHROME_TEST_TESTING_PROFILE_H_ | 443 #endif // CHROME_TEST_TESTING_PROFILE_H_ |
| OLD | NEW |