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_SHELL_SHELL_CONTENT_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ |
6 #define CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/public/common/content_client.h" | 10 #include "content/public/common/content_client.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) OVERRIDE; | 24 virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) OVERRIDE; |
25 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; | 25 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; |
26 virtual std::string GetUserAgent(bool* overriding) const OVERRIDE; | 26 virtual std::string GetUserAgent(bool* overriding) const OVERRIDE; |
27 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; | 27 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; |
28 virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE; | 28 virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE; |
29 | 29 |
30 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
31 virtual bool SandboxPlugin(CommandLine* command_line, | 31 virtual bool SandboxPlugin(CommandLine* command_line, |
32 sandbox::TargetPolicy* policy) OVERRIDE; | 32 sandbox::TargetPolicy* policy) OVERRIDE; |
33 #endif | 33 #endif |
| 34 |
| 35 #if defined(OS_MACOSX) |
| 36 virtual bool GetSandboxProfileForSandboxType( |
| 37 int sandbox_type, |
| 38 int* sandbox_profile_resource_id) const OVERRIDE; |
| 39 #endif |
34 }; | 40 }; |
35 | 41 |
36 } // namespace content | 42 } // namespace content |
37 | 43 |
38 #endif // CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ | 44 #endif // CONTENT_SHELL_SHELL_CONTENT_CLIENT_H_ |
OLD | NEW |