Chromium Code Reviews| Index: chrome/browser/profiles/profile_io_data.h |
| =================================================================== |
| --- chrome/browser/profiles/profile_io_data.h (revision 89645) |
| +++ chrome/browser/profiles/profile_io_data.h (working copy) |
| @@ -30,6 +30,10 @@ |
| class IOThread; |
| class ProtocolHandlerRegistry; |
| +namespace chrome_browser_net { |
| +class Predictor; |
| +} |
| + |
| namespace fileapi { |
| class FileSystemContext; |
| } // namespace fileapi |
| @@ -96,6 +100,11 @@ |
| HostContentSettingsMap* GetHostContentSettingsMap() const; |
| DesktopNotificationService* GetNotificationService() const; |
| + // These functions interact with the Predictor for the associated profile. |
| + // The profile_io_data_ owns this predictor. |
| + chrome_browser_net::Predictor* GetPredictor(); |
|
willchan no longer on Chromium
2011/07/21 12:10:53
This should move to the ProfileImplIOData class si
rpetterson
2011/08/10 02:24:46
Done.
|
| + void SetPredictor(chrome_browser_net::Predictor* predictor); |
| + |
| protected: |
| friend class base::RefCountedThreadSafe<ProfileIOData>; |
| @@ -268,6 +277,8 @@ |
| mutable scoped_refptr<RequestContext> main_request_context_; |
| mutable scoped_refptr<RequestContext> extensions_request_context_; |
| + mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| }; |