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

Unified Diff: content/renderer/java_bridge_channel.cc

Issue 8525016: Move Java Bridge files to new java/ subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 9 years, 1 month 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/renderer/java_bridge_channel.h ('k') | content/renderer/java_bridge_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/java_bridge_channel.cc
diff --git a/content/renderer/java_bridge_channel.cc b/content/renderer/java_bridge_channel.cc
deleted file mode 100644
index 29a6ee04ab904f641117c52c207e02bd531362bb..0000000000000000000000000000000000000000
--- a/content/renderer/java_bridge_channel.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2011 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 "content/renderer/java_bridge_channel.h"
-
-#include "content/common/child_process.h"
-
-JavaBridgeChannel* JavaBridgeChannel::GetJavaBridgeChannel(
- const IPC::ChannelHandle& channel_handle,
- base::MessageLoopProxy* ipc_message_loop) {
- return static_cast<JavaBridgeChannel*>(NPChannelBase::GetChannel(
- channel_handle,
- IPC::Channel::MODE_CLIENT,
- ClassFactory,
- ipc_message_loop,
- true,
- ChildProcess::current()->GetShutDownEvent()));
-}
-
-int JavaBridgeChannel::GenerateRouteID() {
- NOTREACHED() << "Java Bridge only creates object stubs in the browser.";
- return -1;
-}
-
-bool JavaBridgeChannel::OnMessageReceived(const IPC::Message& msg) {
- NOTREACHED() << "Java Bridge only sends messages from renderer to browser.";
- return false;
-}
« no previous file with comments | « content/renderer/java_bridge_channel.h ('k') | content/renderer/java_bridge_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698