| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 BrowserPluginGuestManager* guest_manager) { | 38 BrowserPluginGuestManager* guest_manager) { |
| 39 guest_manager_ = guest_manager; | 39 guest_manager_ = guest_manager; |
| 40 } | 40 } |
| 41 | 41 |
| 42 // BrowserContext implementation. | 42 // BrowserContext implementation. |
| 43 base::FilePath GetPath() const override; | 43 base::FilePath GetPath() const override; |
| 44 std::unique_ptr<ZoomLevelDelegate> CreateZoomLevelDelegate( | 44 std::unique_ptr<ZoomLevelDelegate> CreateZoomLevelDelegate( |
| 45 const base::FilePath& partition_path) override; | 45 const base::FilePath& partition_path) override; |
| 46 bool IsOffTheRecord() const override; | 46 bool IsOffTheRecord() const override; |
| 47 DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 47 DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
| 48 net::URLRequestContextGetter* GetRequestContext() override; |
| 48 net::URLRequestContextGetter* GetMediaRequestContext() override; | 49 net::URLRequestContextGetter* GetMediaRequestContext() override; |
| 49 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 50 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 50 int renderer_child_id) override; | 51 int renderer_child_id) override; |
| 51 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 52 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
| 52 const base::FilePath& partition_path, | 53 const base::FilePath& partition_path, |
| 53 bool in_memory) override; | 54 bool in_memory) override; |
| 54 ResourceContext* GetResourceContext() override; | 55 ResourceContext* GetResourceContext() override; |
| 55 BrowserPluginGuestManager* GetGuestManager() override; | 56 BrowserPluginGuestManager* GetGuestManager() override; |
| 56 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 57 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
| 57 PushMessagingService* GetPushMessagingService() override; | 58 PushMessagingService* GetPushMessagingService() override; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 base::FilePath path_; | 121 base::FilePath path_; |
| 121 BrowserPluginGuestManager* guest_manager_; | 122 BrowserPluginGuestManager* guest_manager_; |
| 122 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 123 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
| 123 | 124 |
| 124 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 125 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 125 }; | 126 }; |
| 126 | 127 |
| 127 } // namespace content | 128 } // namespace content |
| 128 | 129 |
| 129 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 130 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |