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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 8804006: Reland 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compilation for content_shell_lib Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // Return true if the SetCookie request will be handled by the embedder. 140 // Return true if the SetCookie request will be handled by the embedder.
141 // Cookies to be set are passed in the value parameter. 141 // Cookies to be set are passed in the value parameter.
142 virtual bool HandleSetCookieRequest(RenderView* sender, 142 virtual bool HandleSetCookieRequest(RenderView* sender,
143 const GURL& url, 143 const GURL& url,
144 const GURL& first_party_for_cookies, 144 const GURL& first_party_for_cookies,
145 const std::string& value) = 0; 145 const std::string& value) = 0;
146 146
147 virtual void RegisterPPAPIInterfaceFactories( 147 virtual void RegisterPPAPIInterfaceFactories(
148 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) = 0; 148 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) = 0;
149
150 // Return true if given URL can use TCP/UDP socket APIs.
151 virtual bool AllowSocketAPI(const GURL& url) = 0;
149 }; 152 };
150 153
151 } // namespace content 154 } // namespace content
152 155
153 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 156 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698