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

Unified Diff: content/browser/mock_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, 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/mock_content_browser_client.h
diff --git a/content/browser/mock_content_browser_client.h b/content/browser/mock_content_browser_client.h
index 3629256402104844637f05702d43ae8c27d9eb8e..271a4329eed385dd78d25a2fb7ad0355454e822b 100644
--- a/content/browser/mock_content_browser_client.h
+++ b/content/browser/mock_content_browser_client.h
@@ -152,7 +152,8 @@ class MockContentBrowserClient : public ContentBrowserClient {
virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE;
virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
virtual std::string GetDefaultDownloadName() OVERRIDE;
- virtual bool AllowSocketAPI(const GURL& url) OVERRIDE;
+ virtual bool AllowSocketAPI(content::BrowserContext* browser_context,
jam 2012/03/01 06:21:26 nit: content:: not needed
Dmitry Polukhin 2012/03/01 06:36:05 Done.
+ const GURL& url) OVERRIDE;
#if defined(OS_POSIX) && !defined(OS_MACOSX)
virtual int GetCrashSignalFD(const CommandLine& command_line) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698