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/user_agent/user_agent.h" | 10 #include "webkit/user_agent/user_agent.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 int resource_id, | 76 int resource_id, |
77 ui::ScaleFactor scale_factor) const { | 77 ui::ScaleFactor scale_factor) const { |
78 return base::StringPiece(); | 78 return base::StringPiece(); |
79 } | 79 } |
80 | 80 |
81 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { | 81 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { |
82 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); | 82 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); |
83 return kEmptyImage; | 83 return kEmptyImage; |
84 } | 84 } |
85 | 85 |
86 #if defined(OS_WIN) | |
87 bool ContentClient::SandboxPlugin(CommandLine* command_line, | |
88 sandbox::TargetPolicy* policy) { | |
89 return false; | |
90 } | |
91 #endif | |
92 | |
93 #if defined(OS_MACOSX) && !defined(OS_IOS) | 86 #if defined(OS_MACOSX) && !defined(OS_IOS) |
94 bool ContentClient::GetSandboxProfileForSandboxType( | 87 bool ContentClient::GetSandboxProfileForSandboxType( |
95 int sandbox_type, | 88 int sandbox_type, |
96 int* sandbox_profile_resource_id) const { | 89 int* sandbox_profile_resource_id) const { |
97 return false; | 90 return false; |
98 } | 91 } |
99 | 92 |
100 std::string ContentClient::GetCarbonInterposePath() const { | 93 std::string ContentClient::GetCarbonInterposePath() const { |
101 return std::string(); | 94 return std::string(); |
102 } | 95 } |
103 #endif | 96 #endif |
104 | 97 |
105 } // namespace content | 98 } // namespace content |
OLD | NEW |