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

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

Issue 15017018: Prevent unauthorized commits of the Chrome Web Store URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment Created 7 years, 7 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 | Annotate | Revision Log
« 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::vector<std::string>* additional_schemes) OVERRIDE; 77 std::vector<std::string>* additional_schemes) OVERRIDE;
78 virtual net::URLRequestContextGetter* CreateRequestContext( 78 virtual net::URLRequestContextGetter* CreateRequestContext(
79 content::BrowserContext* browser_context, 79 content::BrowserContext* browser_context,
80 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 80 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
81 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 81 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
82 content::BrowserContext* browser_context, 82 content::BrowserContext* browser_context,
83 const base::FilePath& partition_path, 83 const base::FilePath& partition_path,
84 bool in_memory, 84 bool in_memory,
85 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; 85 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
86 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 86 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
87 virtual bool CanCommitURL(content::RenderProcessHost* process_host,
88 const GURL& url) OVERRIDE;
87 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 89 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
88 const GURL& url) OVERRIDE; 90 const GURL& site_url) OVERRIDE;
89 virtual bool ShouldTryToUseExistingProcessHost( 91 virtual bool ShouldTryToUseExistingProcessHost(
90 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; 92 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
91 virtual void SiteInstanceGotProcess( 93 virtual void SiteInstanceGotProcess(
92 content::SiteInstance* site_instance) OVERRIDE; 94 content::SiteInstance* site_instance) OVERRIDE;
93 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) 95 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
94 OVERRIDE; 96 OVERRIDE;
95 virtual bool ShouldSwapProcessesForNavigation( 97 virtual bool ShouldSwapProcessesForNavigation(
96 content::SiteInstance* site_instance, 98 content::SiteInstance* site_instance,
97 const GURL& current_url, 99 const GURL& current_url,
98 const GURL& new_url) OVERRIDE; 100 const GURL& new_url) OVERRIDE;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 private: 258 private:
257 // Set of origins that can use TCP/UDP private APIs from NaCl. 259 // Set of origins that can use TCP/UDP private APIs from NaCl.
258 std::set<std::string> allowed_socket_origins_; 260 std::set<std::string> allowed_socket_origins_;
259 261
260 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 262 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
261 }; 263 };
262 264
263 } // namespace chrome 265 } // namespace chrome
264 266
265 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 267 #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