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_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 "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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 scoped_refptr<net::URLRequestContextGetter> extensions_request_context_; | 334 scoped_refptr<net::URLRequestContextGetter> extensions_request_context_; |
335 | 335 |
336 std::wstring id_; | 336 std::wstring id_; |
337 | 337 |
338 bool incognito_; | 338 bool incognito_; |
339 scoped_ptr<Profile> incognito_profile_; | 339 scoped_ptr<Profile> incognito_profile_; |
340 | 340 |
341 // Did the last session exit cleanly? Default is true. | 341 // Did the last session exit cleanly? Default is true. |
342 bool last_session_exited_cleanly_; | 342 bool last_session_exited_cleanly_; |
343 | 343 |
344 | |
345 // FileSystemContext. Created lazily by GetFileSystemContext(). | 344 // FileSystemContext. Created lazily by GetFileSystemContext(). |
346 scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 345 scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
347 | 346 |
348 // WebKitContext, lazily initialized by GetWebKitContext(). | 347 // WebKitContext, lazily initialized by GetWebKitContext(). |
349 scoped_refptr<WebKitContext> webkit_context_; | 348 scoped_refptr<WebKitContext> webkit_context_; |
350 | 349 |
351 // The main database tracker for this profile. | 350 // The main database tracker for this profile. |
352 // Should be used only on the file thread. | 351 // Should be used only on the file thread. |
353 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; | 352 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
354 | 353 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 // testing. | 392 // testing. |
394 ProfileDependencyManager* profile_dependency_manager_; | 393 ProfileDependencyManager* profile_dependency_manager_; |
395 | 394 |
396 scoped_refptr<ChromeAppCacheService> appcache_service_; | 395 scoped_refptr<ChromeAppCacheService> appcache_service_; |
397 | 396 |
398 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 397 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
399 scoped_refptr<quota::QuotaManager> quota_manager_; | 398 scoped_refptr<quota::QuotaManager> quota_manager_; |
400 }; | 399 }; |
401 | 400 |
402 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 401 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |