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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2071433003: Reland: service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revised 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
« no previous file with comments | « no previous file | chrome/browser/chrome_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 (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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 content::BrowserContext* browser_context, 225 content::BrowserContext* browser_context,
226 const GURL& url, 226 const GURL& url,
227 bool private_api, 227 bool private_api,
228 const content::SocketPermissionRequest* params) override; 228 const content::SocketPermissionRequest* params) override;
229 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, 229 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context,
230 const GURL& url) override; 230 const GURL& url) override;
231 ui::SelectFilePolicy* CreateSelectFilePolicy( 231 ui::SelectFilePolicy* CreateSelectFilePolicy(
232 content::WebContents* web_contents) override; 232 content::WebContents* web_contents) override;
233 void GetAdditionalAllowedSchemesForFileSystem( 233 void GetAdditionalAllowedSchemesForFileSystem(
234 std::vector<std::string>* additional_schemes) override; 234 std::vector<std::string>* additional_schemes) override;
235 void GetSchemesBypassingSecureContextCheckWhitelist(
236 std::set<std::string>* schemes) override;
235 void GetURLRequestAutoMountHandlers( 237 void GetURLRequestAutoMountHandlers(
236 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; 238 std::vector<storage::URLRequestAutoMountHandler>* handlers) override;
237 void GetAdditionalFileSystemBackends( 239 void GetAdditionalFileSystemBackends(
238 content::BrowserContext* browser_context, 240 content::BrowserContext* browser_context,
239 const base::FilePath& storage_partition_path, 241 const base::FilePath& storage_partition_path,
240 ScopedVector<storage::FileSystemBackend>* additional_backends) override; 242 ScopedVector<storage::FileSystemBackend>* additional_backends) override;
241 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 243 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
242 content::TracingDelegate* GetTracingDelegate() override; 244 content::TracingDelegate* GetTracingDelegate() override;
243 bool IsPluginAllowedToCallRequestOSFileHandle( 245 bool IsPluginAllowedToCallRequestOSFileHandle(
244 content::BrowserContext* browser_context, 246 content::BrowserContext* browser_context,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // Vector of additional ChromeContentBrowserClientParts. 342 // Vector of additional ChromeContentBrowserClientParts.
341 // Parts are deleted in the reverse order they are added. 343 // Parts are deleted in the reverse order they are added.
342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 344 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
343 345
344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
345 347
346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
347 }; 349 };
348 350
349 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698