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

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

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: extend RenderViewObserver 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 #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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 const GURL& url, 115 const GURL& url,
116 const GURL& first_party_for_cookies, 116 const GURL& first_party_for_cookies,
117 const std::string& value) { 117 const std::string& value) {
118 return false; 118 return false;
119 } 119 }
120 120
121 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( 121 void MockContentRendererClient::RegisterPPAPIInterfaceFactories(
122 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { 122 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {
123 } 123 }
124 124
125 bool MockContentRendererClient::AllowSocketAPI(const GURL& url) {
126 return false;
127 }
128
125 } // namespace content 129 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698