| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <windows.h> | 5 #include <windows.h> |
| 6 | 6 |
| 7 #include "chrome/plugin/plugin_channel_base.h" | 7 #include "chrome/plugin/plugin_channel_base.h" |
| 8 | 8 |
| 9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
| 10 #include "chrome/common/ipc_sync_message.h" | 10 #include "chrome/common/ipc_sync_message.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 } | 174 } |
| 175 | 175 |
| 176 iter++; | 176 iter++; |
| 177 } | 177 } |
| 178 | 178 |
| 179 NOTREACHED(); | 179 NOTREACHED(); |
| 180 } | 180 } |
| 181 } | 181 } |
| 182 | 182 |
| 183 void PluginChannelBase::OnControlMessageReceived(const IPC::Message& msg) { | 183 void PluginChannelBase::OnControlMessageReceived(const IPC::Message& msg) { |
| 184 NOTREACHED() << "should override in subclass if you care about control message
s"; | 184 NOTREACHED() << |
| 185 "should override in subclass if you care about control messages"; |
| 185 } | 186 } |
| 186 | 187 |
| 187 void PluginChannelBase::OnChannelError() { | 188 void PluginChannelBase::OnChannelError() { |
| 188 channel_valid_ = false; | 189 channel_valid_ = false; |
| 189 } | 190 } |
| 190 | 191 |
| 191 void PluginChannelBase::SendUnblockingOnlyDuringDispatch() { | 192 void PluginChannelBase::SendUnblockingOnlyDuringDispatch() { |
| 192 send_unblocking_only_during_dispatch_ = true; | 193 send_unblocking_only_during_dispatch_ = true; |
| 193 } | 194 } |
| OLD | NEW |