| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 // Init() must be called before ~Handle(). It records all the necessary | 32 // Init() must be called before ~Handle(). It records all the necessary |
| 33 // parameters needed to construct a ChromeURLRequestContextGetter. | 33 // parameters needed to construct a ChromeURLRequestContextGetter. |
| 34 void Init(const FilePath& cookie_path, | 34 void Init(const FilePath& cookie_path, |
| 35 const FilePath& cache_path, | 35 const FilePath& cache_path, |
| 36 int cache_max_size, | 36 int cache_max_size, |
| 37 const FilePath& media_cache_path, | 37 const FilePath& media_cache_path, |
| 38 int media_cache_max_size, | 38 int media_cache_max_size, |
| 39 const FilePath& extensions_cookie_path, | 39 const FilePath& extensions_cookie_path, |
| 40 const FilePath& app_path); | 40 const FilePath& app_path); |
| 41 | 41 |
| 42 content::ResourceContextGetter* GetResourceContextGetter() const; |
| 42 scoped_refptr<ChromeURLRequestContextGetter> | 43 scoped_refptr<ChromeURLRequestContextGetter> |
| 43 GetMainRequestContextGetter() const; | 44 GetMainRequestContextGetter() const; |
| 44 scoped_refptr<ChromeURLRequestContextGetter> | 45 scoped_refptr<ChromeURLRequestContextGetter> |
| 45 GetMediaRequestContextGetter() const; | 46 GetMediaRequestContextGetter() const; |
| 46 scoped_refptr<ChromeURLRequestContextGetter> | 47 scoped_refptr<ChromeURLRequestContextGetter> |
| 47 GetExtensionsRequestContextGetter() const; | 48 GetExtensionsRequestContextGetter() const; |
| 48 scoped_refptr<ChromeURLRequestContextGetter> | 49 scoped_refptr<ChromeURLRequestContextGetter> |
| 49 GetIsolatedAppRequestContextGetter( | 50 GetIsolatedAppRequestContextGetter( |
| 50 const std::string& app_id) const; | 51 const std::string& app_id) const; |
| 51 | 52 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 mutable HttpTransactionFactoryMap app_http_factory_map_; | 142 mutable HttpTransactionFactoryMap app_http_factory_map_; |
| 142 | 143 |
| 143 // Parameters needed for isolated apps. | 144 // Parameters needed for isolated apps. |
| 144 FilePath app_path_; | 145 FilePath app_path_; |
| 145 bool clear_local_state_on_exit_; | 146 bool clear_local_state_on_exit_; |
| 146 | 147 |
| 147 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 148 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 151 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |