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

Side by Side Diff: content/shell/browser/shell_content_browser_client.h

Issue 1507333002: Add a content_shell flag to turn on partial site isolation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review fixes Created 5 years 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 | content/shell/browser/shell_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 14 matching lines...) Expand all
25 static ShellContentBrowserClient* Get(); 25 static ShellContentBrowserClient* Get();
26 26
27 static void SetSwapProcessesForRedirect(bool swap); 27 static void SetSwapProcessesForRedirect(bool swap);
28 28
29 ShellContentBrowserClient(); 29 ShellContentBrowserClient();
30 ~ShellContentBrowserClient() override; 30 ~ShellContentBrowserClient() override;
31 31
32 // ContentBrowserClient overrides. 32 // ContentBrowserClient overrides.
33 BrowserMainParts* CreateBrowserMainParts( 33 BrowserMainParts* CreateBrowserMainParts(
34 const MainFunctionParams& parameters) override; 34 const MainFunctionParams& parameters) override;
35 bool DoesSiteRequireDedicatedProcess(BrowserContext* browser_context,
36 const GURL& effective_url) override;
35 net::URLRequestContextGetter* CreateRequestContext( 37 net::URLRequestContextGetter* CreateRequestContext(
36 BrowserContext* browser_context, 38 BrowserContext* browser_context,
37 ProtocolHandlerMap* protocol_handlers, 39 ProtocolHandlerMap* protocol_handlers,
38 URLRequestInterceptorScopedVector request_interceptors) override; 40 URLRequestInterceptorScopedVector request_interceptors) override;
39 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 41 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
40 BrowserContext* browser_context, 42 BrowserContext* browser_context,
41 const base::FilePath& partition_path, 43 const base::FilePath& partition_path,
42 bool in_memory, 44 bool in_memory,
43 ProtocolHandlerMap* protocol_handlers, 45 ProtocolHandlerMap* protocol_handlers,
44 URLRequestInterceptorScopedVector request_interceptors) override; 46 URLRequestInterceptorScopedVector request_interceptors) override;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 resource_dispatcher_host_delegate_; 114 resource_dispatcher_host_delegate_;
113 115
114 base::Closure select_client_certificate_callback_; 116 base::Closure select_client_certificate_callback_;
115 117
116 ShellBrowserMainParts* shell_browser_main_parts_; 118 ShellBrowserMainParts* shell_browser_main_parts_;
117 }; 119 };
118 120
119 } // namespace content 121 } // namespace content
120 122
121 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 123 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698