| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 return InternalTestInitializer::SetRenderer(r); | 57 return InternalTestInitializer::SetRenderer(r); |
| 58 } | 58 } |
| 59 | 59 |
| 60 ContentUtilityClient* SetUtilityClientForTesting(ContentUtilityClient* u) { | 60 ContentUtilityClient* SetUtilityClientForTesting(ContentUtilityClient* u) { |
| 61 return InternalTestInitializer::SetUtility(u); | 61 return InternalTestInitializer::SetUtility(u); |
| 62 } | 62 } |
| 63 | 63 |
| 64 ContentClient::ContentClient() | 64 ContentClient::ContentClient() |
| 65 : browser_(NULL), | 65 : browser_(NULL), |
| 66 gpu_(NULL), | 66 gpu_(NULL), |
| 67 plugin_(NULL), | |
| 68 renderer_(NULL), | 67 renderer_(NULL), |
| 69 utility_(NULL) {} | 68 utility_(NULL) {} |
| 70 | 69 |
| 71 ContentClient::~ContentClient() { | 70 ContentClient::~ContentClient() { |
| 72 } | 71 } |
| 73 | 72 |
| 74 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { | 73 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { |
| 75 return false; | 74 return false; |
| 76 } | 75 } |
| 77 | 76 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 117 |
| 119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { | 118 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { |
| 120 return false; | 119 return false; |
| 121 } | 120 } |
| 122 | 121 |
| 123 base::StringPiece ContentClient::GetOriginTrialPublicKey() { | 122 base::StringPiece ContentClient::GetOriginTrialPublicKey() { |
| 124 return base::StringPiece(); | 123 return base::StringPiece(); |
| 125 } | 124 } |
| 126 | 125 |
| 127 } // namespace content | 126 } // namespace content |
| OLD | NEW |