OLD | NEW |
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 const GURL& first_party_for_cookies, | 137 const GURL& first_party_for_cookies, |
138 std::string* cookies) = 0; | 138 std::string* cookies) = 0; |
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 // True if the protocol implemented to serve |url| supports features required | |
148 // by the media engine. | |
149 virtual bool IsProtocolSupportedForMedia(const GURL& url) = 0; | |
150 | |
151 virtual void RegisterPPAPIInterfaceFactories( | 147 virtual void RegisterPPAPIInterfaceFactories( |
152 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) = 0; | 148 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) = 0; |
153 }; | 149 }; |
154 | 150 |
155 } // namespace content | 151 } // namespace content |
156 | 152 |
157 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 153 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |