| 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 CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 
| 6 #define CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 6 #define CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 
| 7 #pragma once | 7 #pragma once | 
| 8 | 8 | 
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" | 
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 33   virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 33   virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 
| 34   virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 34   virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 
| 35       int renderer_child_id) OVERRIDE; | 35       int renderer_child_id) OVERRIDE; | 
| 36   virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 36   virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 
| 37   virtual ResourceContext* GetResourceContext() OVERRIDE; | 37   virtual ResourceContext* GetResourceContext() OVERRIDE; | 
| 38   virtual HostZoomMap* GetHostZoomMap() OVERRIDE; | 38   virtual HostZoomMap* GetHostZoomMap() OVERRIDE; | 
| 39   virtual GeolocationPermissionContext* | 39   virtual GeolocationPermissionContext* | 
| 40       GetGeolocationPermissionContext() OVERRIDE; | 40       GetGeolocationPermissionContext() OVERRIDE; | 
| 41   virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; | 41   virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; | 
| 42   virtual bool DidLastSessionExitCleanly() OVERRIDE; | 42   virtual bool DidLastSessionExitCleanly() OVERRIDE; | 
| 43   virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; | 43   virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 
| 44   virtual WebKitContext* GetWebKitContext() OVERRIDE; |  | 
| 45   virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; |  | 
| 46   virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; |  | 
| 47   virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; |  | 
| 48   virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; |  | 
| 49 | 44 | 
| 50  private: | 45  private: | 
| 51   void CreateQuotaManagerAndClients(); |  | 
| 52 | 46 | 
| 53   FilePath path_; | 47   FilePath path_; | 
| 54   scoped_ptr<ResourceContext> resource_context_; | 48   scoped_ptr<ResourceContext> resource_context_; | 
| 55   scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 49   scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 
| 56   scoped_refptr<DownloadManager> download_manager_; | 50   scoped_refptr<DownloadManager> download_manager_; | 
| 57   scoped_refptr<net::URLRequestContextGetter> url_request_getter_; | 51   scoped_refptr<net::URLRequestContextGetter> url_request_getter_; | 
| 58   scoped_refptr<HostZoomMap> host_zoom_map_; | 52   scoped_refptr<HostZoomMap> host_zoom_map_; | 
| 59   scoped_refptr<GeolocationPermissionContext> geolocation_permission_context_; | 53   scoped_refptr<GeolocationPermissionContext> geolocation_permission_context_; | 
| 60   scoped_refptr<SpeechInputPreferences> speech_input_preferences_; | 54   scoped_refptr<SpeechInputPreferences> speech_input_preferences_; | 
| 61   scoped_refptr<WebKitContext> webkit_context_; |  | 
| 62   scoped_refptr<ChromeAppCacheService> appcache_service_; |  | 
| 63   scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |  | 
| 64   scoped_refptr<fileapi::FileSystemContext> file_system_context_; |  | 
| 65   scoped_refptr<quota::QuotaManager> quota_manager_; |  | 
| 66   scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |  | 
| 67 | 55 | 
| 68   ShellBrowserMainParts* shell_main_parts_; | 56   ShellBrowserMainParts* shell_main_parts_; | 
| 69 | 57 | 
| 70   DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 58   DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 
| 71 }; | 59 }; | 
| 72 | 60 | 
| 73 }  // namespace content | 61 }  // namespace content | 
| 74 | 62 | 
| 75 #endif  // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 63 #endif  // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 
| OLD | NEW | 
|---|