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

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

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 #ifndef CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual bool HandleGetCookieRequest(RenderView* sender, 71 virtual bool HandleGetCookieRequest(RenderView* sender,
72 const GURL& url, 72 const GURL& url,
73 const GURL& first_party_for_cookies, 73 const GURL& first_party_for_cookies,
74 std::string* cookies) OVERRIDE; 74 std::string* cookies) OVERRIDE;
75 virtual bool HandleSetCookieRequest(RenderView* sender, 75 virtual bool HandleSetCookieRequest(RenderView* sender,
76 const GURL& url, 76 const GURL& url,
77 const GURL& first_party_for_cookies, 77 const GURL& first_party_for_cookies,
78 const std::string& value) OVERRIDE; 78 const std::string& value) OVERRIDE;
79 virtual void RegisterPPAPIInterfaceFactories( 79 virtual void RegisterPPAPIInterfaceFactories(
80 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; 80 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
81 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE;
82 }; 81 };
83 82
84 } // namespace content 83 } // namespace content
85 84
86 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 85 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/mock_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698