| OLD | NEW |
| 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_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual bool HandleGetCookieRequest(RenderView* sender, | 72 virtual bool HandleGetCookieRequest(RenderView* sender, |
| 73 const GURL& url, | 73 const GURL& url, |
| 74 const GURL& first_party_for_cookies, | 74 const GURL& first_party_for_cookies, |
| 75 std::string* cookies) OVERRIDE; | 75 std::string* cookies) OVERRIDE; |
| 76 virtual bool HandleSetCookieRequest(RenderView* sender, | 76 virtual bool HandleSetCookieRequest(RenderView* sender, |
| 77 const GURL& url, | 77 const GURL& url, |
| 78 const GURL& first_party_for_cookies, | 78 const GURL& first_party_for_cookies, |
| 79 const std::string& value) OVERRIDE; | 79 const std::string& value) OVERRIDE; |
| 80 virtual void RegisterPPAPIInterfaceFactories( | 80 virtual void RegisterPPAPIInterfaceFactories( |
| 81 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 81 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
| 82 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE; | |
| 83 | 82 |
| 84 private: | 83 private: |
| 85 scoped_ptr<ShellRenderProcessObserver> shell_observer_; | 84 scoped_ptr<ShellRenderProcessObserver> shell_observer_; |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace content | 87 } // namespace content |
| 89 | 88 |
| 90 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 89 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |