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

Side by Side Diff: content/renderer/mock_content_renderer_client.cc

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 #include "content/renderer/mock_content_renderer_client.h" 5 #include "content/renderer/mock_content_renderer_client.h"
6 6
7 #include <string> 7 #include <string>
8 #include "v8/include/v8.h" 8 #include "v8/include/v8.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 const GURL& url, 129 const GURL& url,
130 const GURL& first_party_for_cookies, 130 const GURL& first_party_for_cookies,
131 const std::string& value) { 131 const std::string& value) {
132 return false; 132 return false;
133 } 133 }
134 134
135 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( 135 void MockContentRendererClient::RegisterPPAPIInterfaceFactories(
136 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { 136 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {
137 } 137 }
138 138
139 bool MockContentRendererClient::AllowSocketAPI(const GURL& url) {
140 return false;
141 }
142
143 } // namespace content 139 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mock_content_renderer_client.h ('k') | content/renderer/pepper_plugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698