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/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 content::ResourceContext* GetResourceContextNoInit() const; | 83 content::ResourceContext* GetResourceContextNoInit() const; |
84 scoped_refptr<ChromeURLRequestContextGetter> | 84 scoped_refptr<ChromeURLRequestContextGetter> |
85 GetMediaRequestContextGetter() const; | 85 GetMediaRequestContextGetter() const; |
86 scoped_refptr<ChromeURLRequestContextGetter> | 86 scoped_refptr<ChromeURLRequestContextGetter> |
87 GetExtensionsRequestContextGetter() const; | 87 GetExtensionsRequestContextGetter() const; |
88 scoped_refptr<ChromeURLRequestContextGetter> | 88 scoped_refptr<ChromeURLRequestContextGetter> |
89 GetIsolatedMediaRequestContextGetter( | 89 GetIsolatedMediaRequestContextGetter( |
90 const base::FilePath& partition_path, | 90 const base::FilePath& partition_path, |
91 bool in_memory) const; | 91 bool in_memory) const; |
92 | 92 |
| 93 // Returns the DevToolsNetworkController attached to ProfileIOData. |
| 94 DevToolsNetworkController* GetDevToolsNetworkController() const; |
| 95 |
93 // Deletes all network related data since |time|. It deletes transport | 96 // Deletes all network related data since |time|. It deletes transport |
94 // security state since |time| and also deletes HttpServerProperties data. | 97 // security state since |time| and also deletes HttpServerProperties data. |
95 // Works asynchronously, however if the |completion| callback is non-null, | 98 // Works asynchronously, however if the |completion| callback is non-null, |
96 // it will be posted on the UI thread once the removal process completes. | 99 // it will be posted on the UI thread once the removal process completes. |
97 void ClearNetworkingHistorySince(base::Time time, | 100 void ClearNetworkingHistorySince(base::Time time, |
98 const base::Closure& completion); | 101 const base::Closure& completion); |
99 | 102 |
100 // Clears part or all of the state of the Domain Reliability Monitor. If | 103 // Clears part or all of the state of the Domain Reliability Monitor. If |
101 // |clear_contexts| is true, clears the (site-provided) contexts, which are | 104 // |clear_contexts| is true, clears the (site-provided) contexts, which are |
102 // cookie-esque; if it is false, clears only the (logged) beacons within | 105 // cookie-esque; if it is false, clears only the (logged) beacons within |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 236 |
234 // Parameters needed for isolated apps. | 237 // Parameters needed for isolated apps. |
235 base::FilePath profile_path_; | 238 base::FilePath profile_path_; |
236 int app_cache_max_size_; | 239 int app_cache_max_size_; |
237 int app_media_cache_max_size_; | 240 int app_media_cache_max_size_; |
238 | 241 |
239 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 242 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
240 }; | 243 }; |
241 | 244 |
242 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 245 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |