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

Unified Diff: extensions/test/test_content_utility_client.cc

Issue 864093002: Move sandboxed_unpacker.{h,cc} from chrome/ to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamed utility_content_client_, and added call to clear the UtilityClientForTesting in ~Extensions… Created 5 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
Index: extensions/test/test_content_utility_client.cc
diff --git a/extensions/test/test_content_utility_client.cc b/extensions/test/test_content_utility_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..93f907e67a1129ed43ae147539a380f30fcc42ad
--- /dev/null
+++ b/extensions/test/test_content_utility_client.cc
@@ -0,0 +1,24 @@
+// Copyright 2015 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.
+
+#include "extensions/test/test_content_utility_client.h"
+
+namespace extensions {
+
+TestContentUtilityClient::TestContentUtilityClient() {
+}
+
+TestContentUtilityClient::~TestContentUtilityClient() {
+}
+
+void TestContentUtilityClient::UtilityThreadStarted() {
+ UtilityHandler::UtilityThreadStarted();
+}
+
+bool TestContentUtilityClient::OnMessageReceived(const IPC::Message& message) {
+ return utility_handler_.OnMessageReceived(message);
+}
+
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698