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 #include "content/public/common/content_client.h" | 5 #include "content/public/common/content_client.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_piece.h" | 8 #include "base/string_piece.h" |
9 #include "ui/gfx/image/image.h" | 9 #include "ui/gfx/image/image.h" |
10 #include "webkit/glue/webkit_glue.h" | 10 #include "webkit/glue/webkit_glue.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 return kEmptyImage; | 72 return kEmptyImage; |
73 } | 73 } |
74 | 74 |
75 #if defined(OS_WIN) | 75 #if defined(OS_WIN) |
76 bool ContentClient::SandboxPlugin(CommandLine* command_line, | 76 bool ContentClient::SandboxPlugin(CommandLine* command_line, |
77 sandbox::TargetPolicy* policy) { | 77 sandbox::TargetPolicy* policy) { |
78 return false; | 78 return false; |
79 } | 79 } |
80 #endif | 80 #endif |
81 | 81 |
82 #if defined(OS_MACOSX) | 82 #if defined(OS_MACOSX) && !defined(OS_IOS) |
83 bool ContentClient::GetSandboxProfileForSandboxType( | 83 bool ContentClient::GetSandboxProfileForSandboxType( |
84 int sandbox_type, | 84 int sandbox_type, |
85 int* sandbox_profile_resource_id) const { | 85 int* sandbox_profile_resource_id) const { |
86 return false; | 86 return false; |
87 } | 87 } |
88 | 88 |
89 std::string ContentClient::GetCarbonInterposePath() const { | 89 std::string ContentClient::GetCarbonInterposePath() const { |
90 return std::string(); | 90 return std::string(); |
91 } | 91 } |
92 #endif | 92 #endif |
93 | 93 |
94 } // namespace content | 94 } // namespace content |
OLD | NEW |