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; | |
41 net::URLRequestContextGetter* GetMediaRequestContext() override; | 40 net::URLRequestContextGetter* GetMediaRequestContext() override; |
42 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 41 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
43 int renderer_child_id) override; | 42 int renderer_child_id) override; |
44 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 43 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
45 const base::FilePath& partition_path, | 44 const base::FilePath& partition_path, |
46 bool in_memory) override; | 45 bool in_memory) override; |
47 content::ResourceContext* GetResourceContext() override; | 46 content::ResourceContext* GetResourceContext() override; |
48 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 47 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; |
49 content::BrowserPluginGuestManager* GetGuestManager() override; | 48 content::BrowserPluginGuestManager* GetGuestManager() override; |
50 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 49 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
(...skipping 27 matching lines...) Expand all Loading... |
78 net::NetLog* net_log_; | 77 net::NetLog* net_log_; |
79 base::FilePath path_; | 78 base::FilePath path_; |
80 | 79 |
81 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserContext); | 80 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserContext); |
82 }; | 81 }; |
83 | 82 |
84 } // namespace engine | 83 } // namespace engine |
85 } // namespace blimp | 84 } // namespace blimp |
86 | 85 |
87 #endif // BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ | 86 #endif // BLIMP_ENGINE_COMMON_BLIMP_BROWSER_CONTEXT_H_ |
OLD | NEW |