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

Side by Side Diff: chromecast/browser/cast_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
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chromecast/browser/cast_browser_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
6 #define CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 6 #define CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 explicit CastBrowserContext( 24 explicit CastBrowserContext(
25 URLRequestContextFactory* url_request_context_factory); 25 URLRequestContextFactory* url_request_context_factory);
26 ~CastBrowserContext() override; 26 ~CastBrowserContext() override;
27 27
28 // BrowserContext implementation: 28 // BrowserContext implementation:
29 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( 29 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
30 const base::FilePath& partition_path) override; 30 const base::FilePath& partition_path) override;
31 base::FilePath GetPath() const override; 31 base::FilePath GetPath() const override;
32 bool IsOffTheRecord() const override; 32 bool IsOffTheRecord() const override;
33 net::URLRequestContextGetter* GetRequestContext() override;
33 net::URLRequestContextGetter* GetMediaRequestContext() override; 34 net::URLRequestContextGetter* GetMediaRequestContext() override;
34 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 35 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
35 int renderer_child_id) override; 36 int renderer_child_id) override;
36 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 37 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
37 const base::FilePath& partition_path, 38 const base::FilePath& partition_path,
38 bool in_memory) override; 39 bool in_memory) override;
39 content::ResourceContext* GetResourceContext() override; 40 content::ResourceContext* GetResourceContext() override;
40 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 41 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
41 content::BrowserPluginGuestManager* GetGuestManager() override; 42 content::BrowserPluginGuestManager* GetGuestManager() override;
42 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 43 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
(...skipping 25 matching lines...) Expand all
68 std::unique_ptr<CastDownloadManagerDelegate> download_manager_delegate_; 69 std::unique_ptr<CastDownloadManagerDelegate> download_manager_delegate_;
69 std::unique_ptr<content::PermissionManager> permission_manager_; 70 std::unique_ptr<content::PermissionManager> permission_manager_;
70 71
71 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext); 72 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext);
72 }; 73 };
73 74
74 } // namespace shell 75 } // namespace shell
75 } // namespace chromecast 76 } // namespace chromecast
76 77
77 #endif // CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 78 #endif // CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chromecast/browser/cast_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698