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

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

Issue 2363653002: Cleanup unreachable cert adding code (Closed)
Patch Set: Rebased Created 4 years, 2 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 | « no previous file | android_webview/browser/aw_content_browser_client.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 (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 16 matching lines...) Expand all
27 // Deprecated: use AwBrowserContext::GetDefault() instead. 27 // Deprecated: use AwBrowserContext::GetDefault() instead.
28 static AwBrowserContext* GetAwBrowserContext(); 28 static AwBrowserContext* GetAwBrowserContext();
29 29
30 AwContentBrowserClient(JniDependencyFactory* native_factory); 30 AwContentBrowserClient(JniDependencyFactory* native_factory);
31 ~AwContentBrowserClient() override; 31 ~AwContentBrowserClient() override;
32 32
33 // Allows AwBrowserMainParts to initialize a BrowserContext at the right 33 // Allows AwBrowserMainParts to initialize a BrowserContext at the right
34 // moment during startup. AwContentBrowserClient owns the result. 34 // moment during startup. AwContentBrowserClient owns the result.
35 AwBrowserContext* InitBrowserContext(); 35 AwBrowserContext* InitBrowserContext();
36 36
37 // Overriden methods from ContentBrowserClient.
38 void AddCertificate(net::CertificateMimeType cert_type,
39 const void* cert_data,
40 size_t cert_size,
41 int render_process_id,
42 int render_frame_id) override;
43 content::BrowserMainParts* CreateBrowserMainParts( 37 content::BrowserMainParts* CreateBrowserMainParts(
44 const content::MainFunctionParams& parameters) override; 38 const content::MainFunctionParams& parameters) override;
45 content::WebContentsViewDelegate* GetWebContentsViewDelegate( 39 content::WebContentsViewDelegate* GetWebContentsViewDelegate(
46 content::WebContents* web_contents) override; 40 content::WebContents* web_contents) override;
47 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; 41 void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
48 bool IsHandledURL(const GURL& url) override; 42 bool IsHandledURL(const GURL& url) override;
49 std::string GetCanonicalEncodingNameByAliasName( 43 std::string GetCanonicalEncodingNameByAliasName(
50 const std::string& alias_name) override; 44 const std::string& alias_name) override;
51 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 45 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
52 int child_process_id) override; 46 int child_process_id) override;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 138 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
145 139
146 JniDependencyFactory* native_factory_; 140 JniDependencyFactory* native_factory_;
147 141
148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 142 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
149 }; 143 };
150 144
151 } // namespace android_webview 145 } // namespace android_webview
152 146
153 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 147 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698