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

Side by Side Diff: content/shell/browser/shell_browser_context.h

Issue 1864583006: Simplify BrowserContext by removing redundant methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 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
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
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_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_access_token_store.cc ('k') | content/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698