| 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; | |
| 49 net::URLRequestContextGetter* GetMediaRequestContext() override; | 48 net::URLRequestContextGetter* GetMediaRequestContext() override; |
| 50 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 49 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 51 int renderer_child_id) override; | 50 int renderer_child_id) override; |
| 52 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 51 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
| 53 const base::FilePath& partition_path, | 52 const base::FilePath& partition_path, |
| 54 bool in_memory) override; | 53 bool in_memory) override; |
| 55 ResourceContext* GetResourceContext() override; | 54 ResourceContext* GetResourceContext() override; |
| 56 BrowserPluginGuestManager* GetGuestManager() override; | 55 BrowserPluginGuestManager* GetGuestManager() override; |
| 57 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 56 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
| 58 PushMessagingService* GetPushMessagingService() override; | 57 PushMessagingService* GetPushMessagingService() override; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 base::FilePath path_; | 120 base::FilePath path_; |
| 122 BrowserPluginGuestManager* guest_manager_; | 121 BrowserPluginGuestManager* guest_manager_; |
| 123 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 122 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
| 124 | 123 |
| 125 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 124 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 126 }; | 125 }; |
| 127 | 126 |
| 128 } // namespace content | 127 } // namespace content |
| 129 | 128 |
| 130 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 129 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |