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

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

Issue 2399853003: [M54 merge] Lock down creation of blob:chrome-extension URLs from non-extension processes. (Closed)
Patch Set: Rebase Created 4 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 std::string* partition_name, 75 std::string* partition_name,
76 bool* in_memory) override; 76 bool* in_memory) override;
77 content::WebContentsViewDelegate* GetWebContentsViewDelegate( 77 content::WebContentsViewDelegate* GetWebContentsViewDelegate(
78 content::WebContents* web_contents) override; 78 content::WebContents* web_contents) override;
79 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; 79 void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
80 GURL GetEffectiveURL(content::BrowserContext* browser_context, 80 GURL GetEffectiveURL(content::BrowserContext* browser_context,
81 const GURL& url) override; 81 const GURL& url) override;
82 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 82 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
83 const GURL& effective_url) override; 83 const GURL& effective_url) override;
84 bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context, 84 bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context,
85 const GURL& effective_url) override; 85 const GURL& effective_site_url) override;
86 bool ShouldLockToOrigin(content::BrowserContext* browser_context, 86 bool ShouldLockToOrigin(content::BrowserContext* browser_context,
87 const GURL& effective_site_url) override; 87 const GURL& effective_site_url) override;
88 void GetAdditionalWebUISchemes( 88 void GetAdditionalWebUISchemes(
89 std::vector<std::string>* additional_schemes) override; 89 std::vector<std::string>* additional_schemes) override;
90 bool LogWebUIUrl(const GURL& web_ui_url) const override; 90 bool LogWebUIUrl(const GURL& web_ui_url) const override;
91 bool IsHandledURL(const GURL& url) override; 91 bool IsHandledURL(const GURL& url) override;
92 bool CanCommitURL(content::RenderProcessHost* process_host, 92 bool CanCommitURL(content::RenderProcessHost* process_host,
93 const GURL& url) override; 93 const GURL& url) override;
94 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, 94 bool ShouldAllowOpenURL(content::SiteInstance* site_instance,
95 const GURL& url) override; 95 const GURL& url) override;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // Vector of additional ChromeContentBrowserClientParts. 355 // Vector of additional ChromeContentBrowserClientParts.
356 // Parts are deleted in the reverse order they are added. 356 // Parts are deleted in the reverse order they are added.
357 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 357 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
358 358
359 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 359 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
360 360
361 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 361 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
362 }; 362 };
363 363
364 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 364 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_security_exploit_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698