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

Side by Side Diff: content/shell/shell_content_browser_client.cc

Issue 9317026: Hide WorkerProcessHost from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | « content/shell/shell_content_browser_client.h ('k') | no next file » | 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 #include "content/shell/shell_content_browser_client.h" 5 #include "content/shell/shell_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "content/shell/shell.h" 9 #include "content/shell/shell.h"
10 #include "content/shell/shell_browser_main.h" 10 #include "content/shell/shell_browser_main.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 net::CookieOptions* options) { 156 net::CookieOptions* options) {
157 return true; 157 return true;
158 } 158 }
159 159
160 bool ShellContentBrowserClient::AllowSaveLocalState( 160 bool ShellContentBrowserClient::AllowSaveLocalState(
161 const content::ResourceContext& context) { 161 const content::ResourceContext& context) {
162 return true; 162 return true;
163 } 163 }
164 164
165 bool ShellContentBrowserClient::AllowWorkerDatabase( 165 bool ShellContentBrowserClient::AllowWorkerDatabase(
166 int worker_route_id,
167 const GURL& url, 166 const GURL& url,
168 const string16& name, 167 const string16& name,
169 const string16& display_name, 168 const string16& display_name,
170 unsigned long estimated_size, 169 unsigned long estimated_size,
171 WorkerProcessHost* worker_process_host) { 170 const content::ResourceContext& context,
171 const std::vector<std::pair<int, int> >& render_views) {
172 return true; 172 return true;
173 } 173 }
174 174
175 bool ShellContentBrowserClient::AllowWorkerFileSystem( 175 bool ShellContentBrowserClient::AllowWorkerFileSystem(
176 int worker_route_id,
177 const GURL& url, 176 const GURL& url,
178 WorkerProcessHost* worker_process_host) { 177 const content::ResourceContext& context,
178 const std::vector<std::pair<int, int> >& render_views) {
179 return true; 179 return true;
180 } 180 }
181 181
182 QuotaPermissionContext* 182 QuotaPermissionContext*
183 ShellContentBrowserClient::CreateQuotaPermissionContext() { 183 ShellContentBrowserClient::CreateQuotaPermissionContext() {
184 return NULL; 184 return NULL;
185 } 185 }
186 186
187 net::URLRequestContext* ShellContentBrowserClient::OverrideRequestContextForURL( 187 net::URLRequestContext* ShellContentBrowserClient::OverrideRequestContextForURL(
188 const GURL& url, const content::ResourceContext& context) { 188 const GURL& url, const content::ResourceContext& context) {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 #endif 326 #endif
327 327
328 #if defined(USE_NSS) 328 #if defined(USE_NSS)
329 crypto::CryptoModuleBlockingPasswordDelegate* 329 crypto::CryptoModuleBlockingPasswordDelegate*
330 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 330 ShellContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
331 return NULL; 331 return NULL;
332 } 332 }
333 #endif 333 #endif
334 334
335 } // namespace content 335 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698