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

Side by Side Diff: android_webview/browser/aw_browser_context.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
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.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_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 <vector> 8 #include <vector>
9 9
10 #include "android_webview/browser/aw_download_manager_delegate.h" 10 #include "android_webview/browser/aw_download_manager_delegate.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // These methods map to Add methods in components::VisitedLinkMaster. 57 // These methods map to Add methods in components::VisitedLinkMaster.
58 void AddVisitedURLs(const std::vector<GURL>& urls); 58 void AddVisitedURLs(const std::vector<GURL>& urls);
59 59
60 net::URLRequestContextGetter* CreateRequestContext( 60 net::URLRequestContextGetter* CreateRequestContext(
61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
62 blob_protocol_handler, 62 blob_protocol_handler,
63 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 63 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
64 file_system_protocol_handler, 64 file_system_protocol_handler,
65 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 65 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
66 developer_protocol_handler,
67 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
68 chrome_protocol_handler, 66 chrome_protocol_handler,
69 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 67 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
70 chrome_devtools_protocol_handler); 68 chrome_devtools_protocol_handler);
71 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 69 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
72 const base::FilePath& partition_path, 70 const base::FilePath& partition_path,
73 bool in_memory, 71 bool in_memory,
74 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 72 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
75 blob_protocol_handler, 73 blob_protocol_handler,
76 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 74 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
77 file_system_protocol_handler, 75 file_system_protocol_handler,
78 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 76 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
79 developer_protocol_handler,
80 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
81 chrome_protocol_handler, 77 chrome_protocol_handler,
82 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 78 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
83 chrome_devtools_protocol_handler); 79 chrome_devtools_protocol_handler);
84 80
85 AwQuotaManagerBridge* GetQuotaManagerBridge(); 81 AwQuotaManagerBridge* GetQuotaManagerBridge();
86 82
87 // content::BrowserContext implementation. 83 // content::BrowserContext implementation.
88 virtual base::FilePath GetPath() OVERRIDE; 84 virtual base::FilePath GetPath() OVERRIDE;
89 virtual bool IsOffTheRecord() const OVERRIDE; 85 virtual bool IsOffTheRecord() const OVERRIDE;
90 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 86 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 119
124 scoped_ptr<components::VisitedLinkMaster> visitedlink_master_; 120 scoped_ptr<components::VisitedLinkMaster> visitedlink_master_;
125 scoped_ptr<content::ResourceContext> resource_context_; 121 scoped_ptr<content::ResourceContext> resource_context_;
126 122
127 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 123 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
128 }; 124 };
129 125
130 } // namespace android_webview 126 } // namespace android_webview
131 127
132 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 128 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698