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

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 2874833002: Don't compile code for desktop zoom or GuestViews on mobile platforms. (Closed)
Patch Set: Update CastBrowserContext Created 3 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void AddVisitedURLs(const std::vector<GURL>& urls); 83 void AddVisitedURLs(const std::vector<GURL>& urls);
84 84
85 AwQuotaManagerBridge* GetQuotaManagerBridge(); 85 AwQuotaManagerBridge* GetQuotaManagerBridge();
86 AwFormDatabaseService* GetFormDatabaseService(); 86 AwFormDatabaseService* GetFormDatabaseService();
87 AwURLRequestContextGetter* GetAwURLRequestContext(); 87 AwURLRequestContextGetter* GetAwURLRequestContext();
88 88
89 policy::URLBlacklistManager* GetURLBlacklistManager(); 89 policy::URLBlacklistManager* GetURLBlacklistManager();
90 web_restrictions::WebRestrictionsClient* GetWebRestrictionProvider(); 90 web_restrictions::WebRestrictionsClient* GetWebRestrictionProvider();
91 91
92 // content::BrowserContext implementation. 92 // content::BrowserContext implementation.
93 std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
94 const base::FilePath& partition_path) override;
95 base::FilePath GetPath() const override; 93 base::FilePath GetPath() const override;
96 bool IsOffTheRecord() const override; 94 bool IsOffTheRecord() const override;
97 content::ResourceContext* GetResourceContext() override; 95 content::ResourceContext* GetResourceContext() override;
98 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 96 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
99 content::BrowserPluginGuestManager* GetGuestManager() override; 97 content::BrowserPluginGuestManager* GetGuestManager() override;
100 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 98 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
101 content::PushMessagingService* GetPushMessagingService() override; 99 content::PushMessagingService* GetPushMessagingService() override;
102 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 100 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
103 content::PermissionManager* GetPermissionManager() override; 101 content::PermissionManager* GetPermissionManager() override;
104 content::BackgroundSyncController* GetBackgroundSyncController() override; 102 content::BackgroundSyncController* GetBackgroundSyncController() override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 scoped_refptr<safe_browsing::RemoteSafeBrowsingDatabaseManager> 155 scoped_refptr<safe_browsing::RemoteSafeBrowsingDatabaseManager>
158 safe_browsing_db_manager_; 156 safe_browsing_db_manager_;
159 bool safe_browsing_db_manager_started_ = false; 157 bool safe_browsing_db_manager_started_ = false;
160 158
161 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 159 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
162 }; 160 };
163 161
164 } // namespace android_webview 162 } // namespace android_webview
165 163
166 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 164 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | chrome/browser/ui/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698