| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 } | 77 } |
| 78 | 78 |
| 79 std::string ContentClient::GetUserAgent() const { | 79 std::string ContentClient::GetUserAgent() const { |
| 80 return std::string(); | 80 return std::string(); |
| 81 } | 81 } |
| 82 | 82 |
| 83 base::string16 ContentClient::GetLocalizedString(int message_id) const { | 83 base::string16 ContentClient::GetLocalizedString(int message_id) const { |
| 84 return base::string16(); | 84 return base::string16(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 base::string16 ContentClient::GetLocalizedStringF( |
| 88 int message_id, |
| 89 const base::string16& string0) const { |
| 90 return base::string16(); |
| 91 } |
| 92 |
| 87 base::StringPiece ContentClient::GetDataResource( | 93 base::StringPiece ContentClient::GetDataResource( |
| 88 int resource_id, | 94 int resource_id, |
| 89 ui::ScaleFactor scale_factor) const { | 95 ui::ScaleFactor scale_factor) const { |
| 90 return base::StringPiece(); | 96 return base::StringPiece(); |
| 91 } | 97 } |
| 92 | 98 |
| 93 base::RefCountedStaticMemory* ContentClient::GetDataResourceBytes( | 99 base::RefCountedStaticMemory* ContentClient::GetDataResourceBytes( |
| 94 int resource_id) const { | 100 int resource_id) const { |
| 95 return NULL; | 101 return NULL; |
| 96 } | 102 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 111 int* sandbox_profile_resource_id) const { | 117 int* sandbox_profile_resource_id) const { |
| 112 return false; | 118 return false; |
| 113 } | 119 } |
| 114 #endif | 120 #endif |
| 115 | 121 |
| 116 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { | 122 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { |
| 117 return false; | 123 return false; |
| 118 } | 124 } |
| 119 | 125 |
| 120 } // namespace content | 126 } // namespace content |
| OLD | NEW |