| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ | 5 #ifndef BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ |
| 6 #define BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ | 6 #define BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 public: | 30 public: |
| 31 // Caller owns |net_log| and ensures it out-lives this browser context. | 31 // Caller owns |net_log| and ensures it out-lives this browser context. |
| 32 BlimpBrowserContext(bool off_the_record, net::NetLog* net_log); | 32 BlimpBrowserContext(bool off_the_record, net::NetLog* net_log); |
| 33 ~BlimpBrowserContext() override; | 33 ~BlimpBrowserContext() override; |
| 34 | 34 |
| 35 // content::BrowserContext implementation. | 35 // content::BrowserContext implementation. |
| 36 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 36 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( |
| 37 const base::FilePath& partition_path) override; | 37 const base::FilePath& partition_path) override; |
| 38 base::FilePath GetPath() const override; | 38 base::FilePath GetPath() const override; |
| 39 bool IsOffTheRecord() const override; | 39 bool IsOffTheRecord() const override; |
| 40 net::URLRequestContextGetter* GetRequestContext() override; |
| 40 net::URLRequestContextGetter* GetMediaRequestContext() override; | 41 net::URLRequestContextGetter* GetMediaRequestContext() override; |
| 41 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 42 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 42 int renderer_child_id) override; | 43 int renderer_child_id) override; |
| 43 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 44 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
| 44 const base::FilePath& partition_path, | 45 const base::FilePath& partition_path, |
| 45 bool in_memory) override; | 46 bool in_memory) override; |
| 46 content::ResourceContext* GetResourceContext() override; | 47 content::ResourceContext* GetResourceContext() override; |
| 47 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 48 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
| 48 content::BrowserPluginGuestManager* GetGuestManager() override; | 49 content::BrowserPluginGuestManager* GetGuestManager() override; |
| 49 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 50 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 77 net::NetLog* net_log_; | 78 net::NetLog* net_log_; |
| 78 base::FilePath path_; | 79 base::FilePath path_; |
| 79 | 80 |
| 80 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserContext); | 81 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserContext); |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 } // namespace engine | 84 } // namespace engine |
| 84 } // namespace blimp | 85 } // namespace blimp |
| 85 | 86 |
| 86 #endif // BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ | 87 #endif // BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ |
| OLD | NEW |