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