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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #endif | 45 #endif |
46 } | 46 } |
47 | 47 |
48 ContentClient::ContentClient() | 48 ContentClient::ContentClient() |
49 : browser_(NULL), plugin_(NULL), renderer_(NULL), utility_(NULL) { | 49 : browser_(NULL), plugin_(NULL), renderer_(NULL), utility_(NULL) { |
50 } | 50 } |
51 | 51 |
52 ContentClient::~ContentClient() { | 52 ContentClient::~ContentClient() { |
53 } | 53 } |
54 | 54 |
| 55 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { |
| 56 return false; |
| 57 } |
| 58 |
55 bool ContentClient::CanHandleWhileSwappedOut(const IPC::Message& message) { | 59 bool ContentClient::CanHandleWhileSwappedOut(const IPC::Message& message) { |
56 return false; | 60 return false; |
57 } | 61 } |
58 | 62 |
59 std::string ContentClient::GetProduct() const { | 63 std::string ContentClient::GetProduct() const { |
60 return std::string(); | 64 return std::string(); |
61 } | 65 } |
62 | 66 |
63 std::string ContentClient::GetUserAgent() const { | 67 std::string ContentClient::GetUserAgent() const { |
64 return std::string(); | 68 return std::string(); |
(...skipping 25 matching lines...) Expand all Loading... |
90 int* sandbox_profile_resource_id) const { | 94 int* sandbox_profile_resource_id) const { |
91 return false; | 95 return false; |
92 } | 96 } |
93 | 97 |
94 std::string ContentClient::GetCarbonInterposePath() const { | 98 std::string ContentClient::GetCarbonInterposePath() const { |
95 return std::string(); | 99 return std::string(); |
96 } | 100 } |
97 #endif | 101 #endif |
98 | 102 |
99 } // namespace content | 103 } // namespace content |
OLD | NEW |