| 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_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 int media_cache_max_size, | 47 int media_cache_max_size, |
| 48 const FilePath& extensions_cookie_path, | 48 const FilePath& extensions_cookie_path, |
| 49 const FilePath& profile_path, | 49 const FilePath& profile_path, |
| 50 const FilePath& infinite_cache_path, | 50 const FilePath& infinite_cache_path, |
| 51 chrome_browser_net::Predictor* predictor, | 51 chrome_browser_net::Predictor* predictor, |
| 52 PrefService* local_state, | 52 PrefService* local_state, |
| 53 IOThread* io_thread, | 53 IOThread* io_thread, |
| 54 bool restore_old_session_cookies, | 54 bool restore_old_session_cookies, |
| 55 quota::SpecialStoragePolicy* special_storage_policy); | 55 quota::SpecialStoragePolicy* special_storage_policy); |
| 56 | 56 |
| 57 base::Callback<ChromeURLDataManagerBackend*(void)> | |
| 58 GetChromeURLDataManagerBackendGetter() const; | |
| 59 content::ResourceContext* GetResourceContext() const; | 57 content::ResourceContext* GetResourceContext() const; |
| 60 // GetResourceContextNoInit() does not call LazyInitialize() so it can be | 58 // GetResourceContextNoInit() does not call LazyInitialize() so it can be |
| 61 // safely be used during initialization. | 59 // safely be used during initialization. |
| 62 content::ResourceContext* GetResourceContextNoInit() const; | 60 content::ResourceContext* GetResourceContextNoInit() const; |
| 63 scoped_refptr<ChromeURLRequestContextGetter> | 61 scoped_refptr<ChromeURLRequestContextGetter> |
| 64 GetMainRequestContextGetter() const; | 62 GetMainRequestContextGetter() const; |
| 65 scoped_refptr<ChromeURLRequestContextGetter> | 63 scoped_refptr<ChromeURLRequestContextGetter> |
| 66 GetMediaRequestContextGetter() const; | 64 GetMediaRequestContextGetter() const; |
| 67 scoped_refptr<ChromeURLRequestContextGetter> | 65 scoped_refptr<ChromeURLRequestContextGetter> |
| 68 GetExtensionsRequestContextGetter() const; | 66 GetExtensionsRequestContextGetter() const; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 198 |
| 201 // Parameters needed for isolated apps. | 199 // Parameters needed for isolated apps. |
| 202 FilePath profile_path_; | 200 FilePath profile_path_; |
| 203 int app_cache_max_size_; | 201 int app_cache_max_size_; |
| 204 int app_media_cache_max_size_; | 202 int app_media_cache_max_size_; |
| 205 | 203 |
| 206 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 204 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 207 }; | 205 }; |
| 208 | 206 |
| 209 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 207 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |