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

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

Issue 12386009: Remove the chrome:// protocol interceptor since it's not used anymore now that the chrome job facto… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 28 matching lines...) Expand all
39 content::WebContents* web_contents) OVERRIDE; 39 content::WebContents* web_contents) OVERRIDE;
40 virtual void RenderProcessHostCreated( 40 virtual void RenderProcessHostCreated(
41 content::RenderProcessHost* host) OVERRIDE; 41 content::RenderProcessHost* host) OVERRIDE;
42 virtual net::URLRequestContextGetter* CreateRequestContext( 42 virtual net::URLRequestContextGetter* CreateRequestContext(
43 content::BrowserContext* browser_context, 43 content::BrowserContext* browser_context,
44 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 44 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
45 blob_protocol_handler, 45 blob_protocol_handler,
46 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 46 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
47 file_system_protocol_handler, 47 file_system_protocol_handler,
48 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 48 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
49 developer_protocol_handler,
50 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
51 chrome_protocol_handler, 49 chrome_protocol_handler,
52 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 50 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
53 chrome_devtools_protocol_handler) OVERRIDE; 51 chrome_devtools_protocol_handler) OVERRIDE;
54 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 52 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
55 content::BrowserContext* browser_context, 53 content::BrowserContext* browser_context,
56 const base::FilePath& partition_path, 54 const base::FilePath& partition_path,
57 bool in_memory, 55 bool in_memory,
58 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 56 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
59 blob_protocol_handler, 57 blob_protocol_handler,
60 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 58 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
61 file_system_protocol_handler, 59 file_system_protocol_handler,
62 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 60 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
63 developer_protocol_handler,
64 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
65 chrome_protocol_handler, 61 chrome_protocol_handler,
66 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 62 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
67 chrome_devtools_protocol_handler) OVERRIDE; 63 chrome_devtools_protocol_handler) OVERRIDE;
68 virtual std::string GetCanonicalEncodingNameByAliasName( 64 virtual std::string GetCanonicalEncodingNameByAliasName(
69 const std::string& alias_name) OVERRIDE; 65 const std::string& alias_name) OVERRIDE;
70 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 66 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
71 int child_process_id) OVERRIDE; 67 int child_process_id) OVERRIDE;
72 virtual std::string GetApplicationLocale() OVERRIDE; 68 virtual std::string GetApplicationLocale() OVERRIDE;
73 virtual std::string GetAcceptLangs(content::BrowserContext* context) OVERRIDE; 69 virtual std::string GetAcceptLangs(content::BrowserContext* context) OVERRIDE;
74 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; 70 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 scoped_ptr<AwBrowserContext> browser_context_; 162 scoped_ptr<AwBrowserContext> browser_context_;
167 163
168 JniDependencyFactory* native_factory_; 164 JniDependencyFactory* native_factory_;
169 165
170 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 166 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
171 }; 167 };
172 168
173 } // namespace android_webview 169 } // namespace android_webview
174 170
175 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 171 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.cc ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698