| 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 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/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 virtual DownloadManager* GetDownloadManager() OVERRIDE; | 35 virtual DownloadManager* GetDownloadManager() OVERRIDE; |
| 36 virtual bool HasCreatedDownloadManager() const OVERRIDE; | 36 virtual bool HasCreatedDownloadManager() const OVERRIDE; |
| 37 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 37 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 38 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 38 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 39 int renderer_child_id) OVERRIDE; | 39 int renderer_child_id) OVERRIDE; |
| 40 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 40 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
| 41 virtual const ResourceContext& GetResourceContext() OVERRIDE; | 41 virtual const ResourceContext& GetResourceContext() OVERRIDE; |
| 42 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; | 42 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; |
| 43 virtual GeolocationPermissionContext* | 43 virtual GeolocationPermissionContext* |
| 44 GetGeolocationPermissionContext() OVERRIDE; | 44 GetGeolocationPermissionContext() OVERRIDE; |
| 45 virtual bool GetSpeechCensorPref() OVERRIDE; |
| 45 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 46 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
| 46 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; | 47 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; |
| 47 virtual WebKitContext* GetWebKitContext() OVERRIDE; | 48 virtual WebKitContext* GetWebKitContext() OVERRIDE; |
| 48 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; | 49 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; |
| 49 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; | 50 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; |
| 50 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; | 51 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; |
| 51 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; | 52 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; |
| 52 | 53 |
| 53 private: | 54 private: |
| 54 void CreateQuotaManagerAndClients(); | 55 void CreateQuotaManagerAndClients(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 69 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 70 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 70 | 71 |
| 71 ShellBrowserMainParts* shell_main_parts_; | 72 ShellBrowserMainParts* shell_main_parts_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 74 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 } // namespace content | 77 } // namespace content |
| 77 | 78 |
| 78 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 79 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |