| 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_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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const RenderView* render_view, | 59 const RenderView* render_view, |
| 60 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; | 60 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; |
| 61 virtual bool HandleGetCookieRequest(RenderView* sender, | 61 virtual bool HandleGetCookieRequest(RenderView* sender, |
| 62 const GURL& url, | 62 const GURL& url, |
| 63 const GURL& first_party_for_cookies, | 63 const GURL& first_party_for_cookies, |
| 64 std::string* cookies) OVERRIDE; | 64 std::string* cookies) OVERRIDE; |
| 65 virtual bool HandleSetCookieRequest(RenderView* sender, | 65 virtual bool HandleSetCookieRequest(RenderView* sender, |
| 66 const GURL& url, | 66 const GURL& url, |
| 67 const GURL& first_party_for_cookies, | 67 const GURL& first_party_for_cookies, |
| 68 const std::string& value) OVERRIDE; | 68 const std::string& value) OVERRIDE; |
| 69 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; | |
| 70 virtual void RegisterPPAPIInterfaceFactories( | 69 virtual void RegisterPPAPIInterfaceFactories( |
| 71 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 70 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
| 72 | 71 |
| 73 }; | 72 }; |
| 74 | 73 |
| 75 } // namespace content | 74 } // namespace content |
| 76 | 75 |
| 77 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ | 76 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |