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 CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 6 #define CHROME_COMMON_CHROME_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 15 matching lines...) Expand all Loading... | |
26 virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) OVERRIDE; | 26 virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) OVERRIDE; |
27 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; | 27 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE; |
28 virtual std::string GetUserAgent(bool* overriding) const OVERRIDE; | 28 virtual std::string GetUserAgent(bool* overriding) const OVERRIDE; |
29 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; | 29 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; |
30 virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE; | 30 virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE; |
31 | 31 |
32 #if defined(OS_WIN) | 32 #if defined(OS_WIN) |
33 virtual bool SandboxPlugin(CommandLine* command_line, | 33 virtual bool SandboxPlugin(CommandLine* command_line, |
34 sandbox::TargetPolicy* policy) OVERRIDE; | 34 sandbox::TargetPolicy* policy) OVERRIDE; |
35 #endif | 35 #endif |
36 | |
37 #if defined(OS_MACOSX) | |
38 virtual int GetSandboxProfileForSandboxType(int sandbox_type) const OVERRIDE; | |
jeremy
2011/11/24 16:42:04
Can you add a comment on legal values for |sandbox
jochen (gone - plz use gerrit)
2011/11/24 20:08:35
I'll add the comment to the interface. We usually
| |
39 #endif | |
36 }; | 40 }; |
37 | 41 |
38 } // namespace chrome | 42 } // namespace chrome |
39 | 43 |
40 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 44 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
OLD | NEW |