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/strings/string_piece.h" | 8 #include "base/strings/string_piece.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/public/common/origin_util.h" | 10 #include "content/public/common/origin_util.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { | 101 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { |
102 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); | 102 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); |
103 return kEmptyImage; | 103 return kEmptyImage; |
104 } | 104 } |
105 | 105 |
106 std::string ContentClient::GetProcessTypeNameInEnglish(int type) { | 106 std::string ContentClient::GetProcessTypeNameInEnglish(int type) { |
107 NOTIMPLEMENTED(); | 107 NOTIMPLEMENTED(); |
108 return std::string(); | 108 return std::string(); |
109 } | 109 } |
110 | 110 |
111 #if defined(OS_MACOSX) && !defined(OS_IOS) | 111 #if defined(OS_MACOSX) |
112 bool ContentClient::GetSandboxProfileForSandboxType( | 112 bool ContentClient::GetSandboxProfileForSandboxType( |
113 int sandbox_type, | 113 int sandbox_type, |
114 int* sandbox_profile_resource_id) const { | 114 int* sandbox_profile_resource_id) const { |
115 return false; | 115 return false; |
116 } | 116 } |
117 #endif | 117 #endif |
118 | 118 |
119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { | 119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { |
120 return false; | 120 return false; |
121 } | 121 } |
122 | 122 |
123 base::StringPiece ContentClient::GetOriginTrialPublicKey() { | 123 base::StringPiece ContentClient::GetOriginTrialPublicKey() { |
124 return base::StringPiece(); | 124 return base::StringPiece(); |
125 } | 125 } |
126 | 126 |
127 } // namespace content | 127 } // namespace content |
OLD | NEW |