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

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

Issue 2578003002: Move |GetCanonicalEncodingNameByAliasName| to base/i18n (Closed)
Patch Set: rebased Created 3 years, 11 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 22 matching lines...) Expand all
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 content::BrowserMainParts* CreateBrowserMainParts( 37 content::BrowserMainParts* CreateBrowserMainParts(
38 const content::MainFunctionParams& parameters) override; 38 const content::MainFunctionParams& parameters) override;
39 content::WebContentsViewDelegate* GetWebContentsViewDelegate( 39 content::WebContentsViewDelegate* GetWebContentsViewDelegate(
40 content::WebContents* web_contents) override; 40 content::WebContents* web_contents) override;
41 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; 41 void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
42 bool IsHandledURL(const GURL& url) override; 42 bool IsHandledURL(const GURL& url) override;
43 std::string GetCanonicalEncodingNameByAliasName(
44 const std::string& alias_name) override;
45 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 43 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
46 int child_process_id) override; 44 int child_process_id) override;
47 std::string GetApplicationLocale() override; 45 std::string GetApplicationLocale() override;
48 std::string GetAcceptLangs(content::BrowserContext* context) override; 46 std::string GetAcceptLangs(content::BrowserContext* context) override;
49 const gfx::ImageSkia* GetDefaultFavicon() override; 47 const gfx::ImageSkia* GetDefaultFavicon() override;
50 bool AllowAppCache(const GURL& manifest_url, 48 bool AllowAppCache(const GURL& manifest_url,
51 const GURL& first_party, 49 const GURL& first_party,
52 content::ResourceContext* context) override; 50 content::ResourceContext* context) override;
53 bool AllowGetCookie(const GURL& url, 51 bool AllowGetCookie(const GURL& url,
54 const GURL& first_party, 52 const GURL& first_party,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 141 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
144 142
145 JniDependencyFactory* native_factory_; 143 JniDependencyFactory* native_factory_;
146 144
147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 145 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
148 }; 146 };
149 147
150 } // namespace android_webview 148 } // namespace android_webview
151 149
152 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 150 #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