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

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

Issue 2009453002: service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: selfreview 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 594
595 // Returns an implementation of a file selecition policy. Can return nullptr. 595 // Returns an implementation of a file selecition policy. Can return nullptr.
596 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 596 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
597 WebContents* web_contents); 597 WebContents* web_contents);
598 598
599 // Returns additional allowed scheme set which can access files in 599 // Returns additional allowed scheme set which can access files in
600 // FileSystem API. 600 // FileSystem API.
601 virtual void GetAdditionalAllowedSchemesForFileSystem( 601 virtual void GetAdditionalAllowedSchemesForFileSystem(
602 std::vector<std::string>* additional_schemes) {} 602 std::vector<std::string>* additional_schemes) {}
603 603
604 virtual void GetSchemesBypassingSecureContextCheckWhitelist(
605 std::set<std::string>* schemes) {}
606
604 // Returns auto mount handlers for URL requests for FileSystem APIs. 607 // Returns auto mount handlers for URL requests for FileSystem APIs.
605 virtual void GetURLRequestAutoMountHandlers( 608 virtual void GetURLRequestAutoMountHandlers(
606 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} 609 std::vector<storage::URLRequestAutoMountHandler>* handlers) {}
607 610
608 // Returns additional file system backends for FileSystem API. 611 // Returns additional file system backends for FileSystem API.
609 // |browser_context| is needed in the additional FileSystemBackends. 612 // |browser_context| is needed in the additional FileSystemBackends.
610 // It has mount points to create objects returned by additional 613 // It has mount points to create objects returned by additional
611 // FileSystemBackends, and SpecialStoragePolicy for permission granting. 614 // FileSystemBackends, and SpecialStoragePolicy for permission granting.
612 virtual void GetAdditionalFileSystemBackends( 615 virtual void GetAdditionalFileSystemBackends(
613 BrowserContext* browser_context, 616 BrowserContext* browser_context,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 780 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
778 // implementation. Return nullptr to disable external surface video. 781 // implementation. Return nullptr to disable external surface video.
779 virtual ExternalVideoSurfaceContainer* 782 virtual ExternalVideoSurfaceContainer*
780 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 783 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
781 #endif 784 #endif
782 }; 785 };
783 786
784 } // namespace content 787 } // namespace content
785 788
786 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 789 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698