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

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

Issue 1862203005: Remove ContentBrowserClient::CreateRequestContext & CreateRequestContextForStoragePartition. (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 (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_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 23 matching lines...) Expand all
34 void AddCertificate(net::CertificateMimeType cert_type, 34 void AddCertificate(net::CertificateMimeType cert_type,
35 const void* cert_data, 35 const void* cert_data,
36 size_t cert_size, 36 size_t cert_size,
37 int render_process_id, 37 int render_process_id,
38 int render_frame_id) override; 38 int render_frame_id) override;
39 content::BrowserMainParts* CreateBrowserMainParts( 39 content::BrowserMainParts* CreateBrowserMainParts(
40 const content::MainFunctionParams& parameters) override; 40 const content::MainFunctionParams& parameters) override;
41 content::WebContentsViewDelegate* GetWebContentsViewDelegate( 41 content::WebContentsViewDelegate* GetWebContentsViewDelegate(
42 content::WebContents* web_contents) override; 42 content::WebContents* web_contents) override;
43 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; 43 void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
44 net::URLRequestContextGetter* CreateRequestContext(
45 content::BrowserContext* browser_context,
46 content::ProtocolHandlerMap* protocol_handlers,
47 content::URLRequestInterceptorScopedVector request_interceptors) override;
48 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
49 content::BrowserContext* browser_context,
50 const base::FilePath& partition_path,
51 bool in_memory,
52 content::ProtocolHandlerMap* protocol_handlers,
53 content::URLRequestInterceptorScopedVector request_interceptors) override;
54 bool IsHandledURL(const GURL& url) override; 44 bool IsHandledURL(const GURL& url) override;
55 std::string GetCanonicalEncodingNameByAliasName( 45 std::string GetCanonicalEncodingNameByAliasName(
56 const std::string& alias_name) override; 46 const std::string& alias_name) override;
57 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 47 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
58 int child_process_id) override; 48 int child_process_id) override;
59 std::string GetApplicationLocale() override; 49 std::string GetApplicationLocale() override;
60 std::string GetAcceptLangs(content::BrowserContext* context) override; 50 std::string GetAcceptLangs(content::BrowserContext* context) override;
61 const gfx::ImageSkia* GetDefaultFavicon() override; 51 const gfx::ImageSkia* GetDefaultFavicon() override;
62 bool AllowAppCache(const GURL& manifest_url, 52 bool AllowAppCache(const GURL& manifest_url,
63 const GURL& first_party, 53 const GURL& first_party,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 142 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
153 143
154 JniDependencyFactory* native_factory_; 144 JniDependencyFactory* native_factory_;
155 145
156 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 146 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
157 }; 147 };
158 148
159 } // namespace android_webview 149 } // namespace android_webview
160 150
161 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 151 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698