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

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

Issue 2061203002: WIP Reland: service worker: Don't control a subframe of an insecure context Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: maybe fix drmemory Created 4 years, 6 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
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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 589
590 // Returns an implementation of a file selecition policy. Can return nullptr. 590 // Returns an implementation of a file selecition policy. Can return nullptr.
591 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 591 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
592 WebContents* web_contents); 592 WebContents* web_contents);
593 593
594 // Returns additional allowed scheme set which can access files in 594 // Returns additional allowed scheme set which can access files in
595 // FileSystem API. 595 // FileSystem API.
596 virtual void GetAdditionalAllowedSchemesForFileSystem( 596 virtual void GetAdditionalAllowedSchemesForFileSystem(
597 std::vector<std::string>* additional_schemes) {} 597 std::vector<std::string>* additional_schemes) {}
598 598
599 // |schemes| is a return value parameter that gets a whitelist of schemes that
600 // should bypass the Is Privileged Context check.
601 // See http://www.w3.org/TR/powerful-features/#settings-privileged
602 virtual void GetSchemesBypassingSecureContextCheckWhitelist(
603 std::set<std::string>* schemes) {}
604
599 // Returns auto mount handlers for URL requests for FileSystem APIs. 605 // Returns auto mount handlers for URL requests for FileSystem APIs.
600 virtual void GetURLRequestAutoMountHandlers( 606 virtual void GetURLRequestAutoMountHandlers(
601 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} 607 std::vector<storage::URLRequestAutoMountHandler>* handlers) {}
602 608
603 // Returns additional file system backends for FileSystem API. 609 // Returns additional file system backends for FileSystem API.
604 // |browser_context| is needed in the additional FileSystemBackends. 610 // |browser_context| is needed in the additional FileSystemBackends.
605 // It has mount points to create objects returned by additional 611 // It has mount points to create objects returned by additional
606 // FileSystemBackends, and SpecialStoragePolicy for permission granting. 612 // FileSystemBackends, and SpecialStoragePolicy for permission granting.
607 virtual void GetAdditionalFileSystemBackends( 613 virtual void GetAdditionalFileSystemBackends(
608 BrowserContext* browser_context, 614 BrowserContext* browser_context,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 778 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
773 // implementation. Return nullptr to disable external surface video. 779 // implementation. Return nullptr to disable external surface video.
774 virtual ExternalVideoSurfaceContainer* 780 virtual ExternalVideoSurfaceContainer*
775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 781 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
776 #endif 782 #endif
777 }; 783 };
778 784
779 } // namespace content 785 } // namespace content
780 786
781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 787 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698