| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 base::RefCountedStaticMemory* ContentClient::GetDataResourceBytes( | 81 base::RefCountedStaticMemory* ContentClient::GetDataResourceBytes( |
| 82 int resource_id) const { | 82 int resource_id) const { |
| 83 return NULL; | 83 return NULL; |
| 84 } | 84 } |
| 85 | 85 |
| 86 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { | 86 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { |
| 87 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); | 87 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); |
| 88 return kEmptyImage; | 88 return kEmptyImage; |
| 89 } | 89 } |
| 90 | 90 |
| 91 std::string ContentClient::GetProcessTypeNameInEnglish(int type) { |
| 92 NOTIMPLEMENTED(); |
| 93 return std::string(); |
| 94 } |
| 95 |
| 91 #if defined(OS_MACOSX) && !defined(OS_IOS) | 96 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 92 bool ContentClient::GetSandboxProfileForSandboxType( | 97 bool ContentClient::GetSandboxProfileForSandboxType( |
| 93 int sandbox_type, | 98 int sandbox_type, |
| 94 int* sandbox_profile_resource_id) const { | 99 int* sandbox_profile_resource_id) const { |
| 95 return false; | 100 return false; |
| 96 } | 101 } |
| 97 | 102 |
| 98 std::string ContentClient::GetCarbonInterposePath() const { | 103 std::string ContentClient::GetCarbonInterposePath() const { |
| 99 return std::string(); | 104 return std::string(); |
| 100 } | 105 } |
| 101 #endif | 106 #endif |
| 102 | 107 |
| 103 } // namespace content | 108 } // namespace content |
| OLD | NEW |