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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 1377933004: Modify --isolate-extensions to not isolate hosted apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_isolate_apps3
Patch Set: Fixes from charlie Created 5 years, 2 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 | « content/public/browser/content_browser_client.h ('k') | content/public/common/content_client.h » ('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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "content/public/browser/client_certificate_delegate.h" 8 #include "content/public/browser/client_certificate_delegate.h"
9 #include "content/public/common/sandbox_type.h" 9 #include "content/public/common/sandbox_type.h"
10 #include "ui/gfx/image/image_skia.h" 10 #include "ui/gfx/image/image_skia.h"
(...skipping 21 matching lines...) Expand all
32 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, 32 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context,
33 const GURL& url) { 33 const GURL& url) {
34 return url; 34 return url;
35 } 35 }
36 36
37 bool ContentBrowserClient::ShouldUseProcessPerSite( 37 bool ContentBrowserClient::ShouldUseProcessPerSite(
38 BrowserContext* browser_context, const GURL& effective_url) { 38 BrowserContext* browser_context, const GURL& effective_url) {
39 return false; 39 return false;
40 } 40 }
41 41
42 bool ContentBrowserClient::DoesSiteRequireDedicatedProcess(
43 BrowserContext* browser_context,
44 const GURL& effective_url) {
45 return false;
46 }
47
42 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context, 48 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context,
43 const GURL& effective_url) { 49 const GURL& effective_url) {
44 return true; 50 return true;
45 } 51 }
46 52
47 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const { 53 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const {
48 return false; 54 return false;
49 } 55 }
50 56
51 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( 57 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext(
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 #if defined(VIDEO_HOLE) 394 #if defined(VIDEO_HOLE)
389 ExternalVideoSurfaceContainer* 395 ExternalVideoSurfaceContainer*
390 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 396 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
391 WebContents* web_contents) { 397 WebContents* web_contents) {
392 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 398 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
393 return nullptr; 399 return nullptr;
394 } 400 }
395 #endif 401 #endif
396 402
397 } // namespace content 403 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/common/content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698