Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: blimp/engine/common/blimp_browser_context.h

Issue 1878153002: Revert of Simplify BrowserContext by removing redundant methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « android_webview/native/aw_contents_statics.cc ('k') | blimp/engine/common/blimp_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698