| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 int renderer_child_id) OVERRIDE; | 46 int renderer_child_id) OVERRIDE; |
| 47 virtual net::URLRequestContextGetter* | 47 virtual net::URLRequestContextGetter* |
| 48 GetMediaRequestContextForStoragePartition( | 48 GetMediaRequestContextForStoragePartition( |
| 49 const base::FilePath& partition_path, | 49 const base::FilePath& partition_path, |
| 50 bool in_memory) OVERRIDE; | 50 bool in_memory) OVERRIDE; |
| 51 virtual ResourceContext* GetResourceContext() OVERRIDE; | 51 virtual ResourceContext* GetResourceContext() OVERRIDE; |
| 52 virtual BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 52 virtual BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
| 53 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 53 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 54 virtual PushMessagingService* GetPushMessagingService() OVERRIDE; | 54 virtual PushMessagingService* GetPushMessagingService() OVERRIDE; |
| 55 virtual SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; | 55 virtual SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE; |
| 56 virtual double GetDefaultZoomLevel() const OVERRIDE; |
| 56 | 57 |
| 57 net::URLRequestContextGetter* CreateRequestContext( | 58 net::URLRequestContextGetter* CreateRequestContext( |
| 58 ProtocolHandlerMap* protocol_handlers, | 59 ProtocolHandlerMap* protocol_handlers, |
| 59 URLRequestInterceptorScopedVector request_interceptors); | 60 URLRequestInterceptorScopedVector request_interceptors); |
| 60 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 61 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 61 const base::FilePath& partition_path, | 62 const base::FilePath& partition_path, |
| 62 bool in_memory, | 63 bool in_memory, |
| 63 ProtocolHandlerMap* protocol_handlers, | 64 ProtocolHandlerMap* protocol_handlers, |
| 64 URLRequestInterceptorScopedVector request_interceptors); | 65 URLRequestInterceptorScopedVector request_interceptors); |
| 65 | 66 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 78 scoped_ptr<ShellResourceContext> resource_context_; | 79 scoped_ptr<ShellResourceContext> resource_context_; |
| 79 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 80 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; |
| 80 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 81 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
| 81 | 82 |
| 82 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 83 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 } // namespace content | 86 } // namespace content |
| 86 | 87 |
| 87 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 88 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |