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 "content/public/common/user_agent.h" | 9 #include "content/public/common/user_agent.h" |
10 #include "ui/gfx/image/image.h" | 10 #include "ui/gfx/image/image.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 : browser_(NULL), plugin_(NULL), renderer_(NULL), utility_(NULL) { | 63 : browser_(NULL), plugin_(NULL), renderer_(NULL), utility_(NULL) { |
64 } | 64 } |
65 | 65 |
66 ContentClient::~ContentClient() { | 66 ContentClient::~ContentClient() { |
67 } | 67 } |
68 | 68 |
69 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { | 69 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { |
70 return false; | 70 return false; |
71 } | 71 } |
72 | 72 |
73 bool ContentClient::CanHandleWhileSwappedOut(const IPC::Message& message) { | |
74 return false; | |
75 } | |
76 | |
77 std::string ContentClient::GetProduct() const { | 73 std::string ContentClient::GetProduct() const { |
78 return std::string(); | 74 return std::string(); |
79 } | 75 } |
80 | 76 |
81 std::string ContentClient::GetUserAgent() const { | 77 std::string ContentClient::GetUserAgent() const { |
82 return std::string(); | 78 return std::string(); |
83 } | 79 } |
84 | 80 |
85 base::string16 ContentClient::GetLocalizedString(int message_id) const { | 81 base::string16 ContentClient::GetLocalizedString(int message_id) const { |
86 return base::string16(); | 82 return base::string16(); |
(...skipping 26 matching lines...) Expand all Loading... |
113 int* sandbox_profile_resource_id) const { | 109 int* sandbox_profile_resource_id) const { |
114 return false; | 110 return false; |
115 } | 111 } |
116 | 112 |
117 std::string ContentClient::GetCarbonInterposePath() const { | 113 std::string ContentClient::GetCarbonInterposePath() const { |
118 return std::string(); | 114 return std::string(); |
119 } | 115 } |
120 #endif | 116 #endif |
121 | 117 |
122 } // namespace content | 118 } // namespace content |
OLD | NEW |