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

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

Issue 9539011: Make socket permission also allow Pepper sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 WebPreferences* prefs) OVERRIDE; 150 WebPreferences* prefs) OVERRIDE;
151 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 151 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
152 const std::string& key, 152 const std::string& key,
153 const std::string& value) OVERRIDE; 153 const std::string& value) OVERRIDE;
154 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; 154 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE;
155 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; 155 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE;
156 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; 156 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE;
157 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; 157 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE;
158 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; 158 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
159 virtual std::string GetDefaultDownloadName() OVERRIDE; 159 virtual std::string GetDefaultDownloadName() OVERRIDE;
160 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE; 160 virtual bool AllowSocketAPI(content::BrowserContext* browser_context,
jam 2012/03/01 06:21:26 ditto
Dmitry Polukhin 2012/03/01 06:36:05 Done.
161 const GURL& url) OVERRIDE;
161 162
162 #if defined(OS_POSIX) && !defined(OS_MACOSX) 163 #if defined(OS_POSIX) && !defined(OS_MACOSX)
163 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE; 164 virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE;
164 #endif 165 #endif
165 166
166 #if defined(OS_WIN) 167 #if defined(OS_WIN)
167 virtual const wchar_t* GetResourceDllName() OVERRIDE; 168 virtual const wchar_t* GetResourceDllName() OVERRIDE;
168 #endif 169 #endif
169 170
170 #if defined(USE_NSS) 171 #if defined(USE_NSS)
171 virtual 172 virtual
172 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 173 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
173 const GURL& url) OVERRIDE; 174 const GURL& url) OVERRIDE;
174 #endif 175 #endif
175 176
176 private: 177 private:
177 ShellBrowserMainParts* shell_browser_main_parts_; 178 ShellBrowserMainParts* shell_browser_main_parts_;
178 }; 179 };
179 180
180 } // namespace content 181 } // namespace content
181 182
182 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 183 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698