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

Unified Diff: content/test/test_content_client.cc

Issue 9271054: Send replies to sync IPCs from swapped out renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send JS replies to right RVH. Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index eeb1df39be61752c4814035a114cea8b12e43033..954958f16d148c57fc884743848c5c252b33b372 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -36,11 +36,13 @@ void TestContentClient::AddNPAPIPlugins(
}
bool TestContentClient::CanSendWhileSwappedOut(const IPC::Message* msg) {
- return true;
+ // TestContentClient does not need to send any additional messages.
+ return false;
}
bool TestContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
- return true;
+ // TestContentClient does not need to handle any additional messages.
+ return false;
}
std::string TestContentClient::GetUserAgent(bool* overriding) const {
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698