Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: content/public/common/content_client.cc

Issue 248703002: Remove ContentClient::CanHandleWhileSwappedOut(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698