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

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

Issue 1321723009: Protocol handlers should be able to register a service worker. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test Created 5 years, 3 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') | 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/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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 bool in_memory, 58 bool in_memory,
59 ProtocolHandlerMap* protocol_handlers, 59 ProtocolHandlerMap* protocol_handlers,
60 URLRequestInterceptorScopedVector request_interceptors) { 60 URLRequestInterceptorScopedVector request_interceptors) {
61 return nullptr; 61 return nullptr;
62 } 62 }
63 63
64 bool ContentBrowserClient::IsHandledURL(const GURL& url) { 64 bool ContentBrowserClient::IsHandledURL(const GURL& url) {
65 return false; 65 return false;
66 } 66 }
67 67
68 GURL ContentBrowserClient::GetHandlerFor(BrowserContext* browser_context,
69 const GURL& url) {
70 return GURL::EmptyGURL();
71 }
72
68 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, 73 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host,
69 const GURL& site_url) { 74 const GURL& site_url) {
70 return true; 75 return true;
71 } 76 }
72 77
73 bool ContentBrowserClient::IsIllegalOrigin(ResourceContext* resource_context, 78 bool ContentBrowserClient::IsIllegalOrigin(ResourceContext* resource_context,
74 int child_process_id, 79 int child_process_id,
75 const GURL& origin) { 80 const GURL& origin) {
76 return false; 81 return false;
77 } 82 }
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 #if defined(VIDEO_HOLE) 383 #if defined(VIDEO_HOLE)
379 ExternalVideoSurfaceContainer* 384 ExternalVideoSurfaceContainer*
380 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 385 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
381 WebContents* web_contents) { 386 WebContents* web_contents) {
382 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 387 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
383 return nullptr; 388 return nullptr;
384 } 389 }
385 #endif 390 #endif
386 391
387 } // namespace content 392 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698