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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 9379002: Move socket API restriction check to browser process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 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
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_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 WebPreferences* prefs) OVERRIDE; 145 WebPreferences* prefs) OVERRIDE;
146 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 146 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
147 const std::string& key, 147 const std::string& key,
148 const std::string& value) OVERRIDE; 148 const std::string& value) OVERRIDE;
149 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; 149 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE;
150 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; 150 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE;
151 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; 151 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE;
152 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; 152 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE;
153 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; 153 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
154 virtual std::string GetDefaultDownloadName() OVERRIDE; 154 virtual std::string GetDefaultDownloadName() OVERRIDE;
155 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE;
155 156
156 #if defined(OS_POSIX) && !defined(OS_MACOSX) 157 #if defined(OS_POSIX) && !defined(OS_MACOSX)
157 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE; 158 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE;
158 #endif 159 #endif
159 160
160 #if defined(OS_WIN) 161 #if defined(OS_WIN)
161 virtual const wchar_t* GetResourceDllName() OVERRIDE; 162 virtual const wchar_t* GetResourceDllName() OVERRIDE;
162 #endif 163 #endif
163 164
164 #if defined(USE_NSS) 165 #if defined(USE_NSS)
165 virtual 166 virtual
166 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 167 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
167 const GURL& url) OVERRIDE; 168 const GURL& url) OVERRIDE;
168 #endif 169 #endif
169 170
170 private: 171 private:
171 ShellBrowserMainParts* shell_browser_main_parts_; 172 ShellBrowserMainParts* shell_browser_main_parts_;
172 }; 173 };
173 174
174 } // namespace content 175 } // namespace content
175 176
176 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 177 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | content/shell/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698