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

Unified Diff: ceee/ie/broker/broker_rpc_server.h

Issue 4508002: COM replaced with RPC for firing events in broker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | « ceee/ie/broker/broker_rpc_lib.idl ('k') | ceee/ie/broker/broker_rpc_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/ie/broker/broker_rpc_server.h
===================================================================
--- ceee/ie/broker/broker_rpc_server.h (revision 0)
+++ ceee/ie/broker/broker_rpc_server.h (revision 0)
@@ -0,0 +1,36 @@
+// Copyright (c) 2010 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.
+//
+// Broker RPC Server.
+
+#ifndef CEEE_IE_BROKER_BROKER_RPC_SERVER_H_
+#define CEEE_IE_BROKER_BROKER_RPC_SERVER_H_
+
+#include <wtypes.h>
+#include "base/basictypes.h"
+
+// Serving requests from BrokerRpcClient.
+class BrokerRpcServer {
+ public:
+ BrokerRpcServer();
+ ~BrokerRpcServer();
+
+ // Registers RPC interface and starts listening for requests.
+ bool Start();
+
+ // Unregister RPC interface.
+ bool Stop();
+
+ // Returns true if object is listening.
+ bool is_started() const;
+
+ private:
+ // State of object.
+ bool is_started_;
+ DWORD current_thread_;
+
+ DISALLOW_COPY_AND_ASSIGN(BrokerRpcServer);
+};
+
+#endif // CEEE_IE_BROKER_BROKER_RPC_SERVER_H_
Property changes on: ceee\ie\broker\broker_rpc_server.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « ceee/ie/broker/broker_rpc_lib.idl ('k') | ceee/ie/broker/broker_rpc_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698