| Index: content/public/browser/message_port_delegate.h
|
| diff --git a/content/browser/message_port_delegate.h b/content/public/browser/message_port_delegate.h
|
| similarity index 76%
|
| rename from content/browser/message_port_delegate.h
|
| rename to content/public/browser/message_port_delegate.h
|
| index 8f6ad1b06973f46d0744654f4e34c066d578f822..70abbeb25eb17bcec9bdf9eba3b9cb3fb176821e 100644
|
| --- a/content/browser/message_port_delegate.h
|
| +++ b/content/public/browser/message_port_delegate.h
|
| @@ -2,12 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_BROWSER_MESSAGE_PORT_DELEGATE_H_
|
| -#define CONTENT_BROWSER_MESSAGE_PORT_DELEGATE_H_
|
| +#ifndef CONTENT_PUBLIC_BROWSER_MESSAGE_PORT_DELEGATE_H_
|
| +#define CONTENT_PUBLIC_BROWSER_MESSAGE_PORT_DELEGATE_H_
|
|
|
| #include <vector>
|
|
|
| #include "base/strings/string16.h"
|
| +#include "content/common/content_export.h"
|
|
|
| namespace content {
|
|
|
| @@ -15,7 +16,7 @@ namespace content {
|
| // correct renderer. Delegates are responsible for managing their own lifetime,
|
| // and should call MessagePortService::OnMessagePortDelegateClosing if they are
|
| // destroyed while there are still message ports associated with them.
|
| -class MessagePortDelegate {
|
| +class CONTENT_EXPORT MessagePortDelegate {
|
| public:
|
| // Sends a message to the given route. Implementations are responsible for
|
| // updating MessagePortService with new routes for the sent message ports.
|
| @@ -23,7 +24,7 @@ class MessagePortDelegate {
|
| const base::string16& message,
|
| const std::vector<int>& sent_message_port_ids) = 0;
|
|
|
| - // Sends a "messages are queued" IPC to the given route.
|
| + // Requests messages to the given route to be queued.
|
| virtual void SendMessagesAreQueued(int route_id) = 0;
|
|
|
| protected:
|
| @@ -32,4 +33,4 @@ class MessagePortDelegate {
|
|
|
| } // namespace content
|
|
|
| -#endif // CONTENT_BROWSER_MESSAGE_PORT_DELEGATE_H_
|
| +#endif // CONTENT_PUBLIC_BROWSER_MESSAGE_PORT_DELEGATE_H_
|
|
|