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

Side by Side Diff: chrome/service/service_ipc_server.h

Issue 7485011: Virtual Cloud Print Driver for Mac. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed copyright Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/service/chrome_service_application_mac.mm ('k') | chrome/service/service_ipc_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_SERVICE_SERVICE_IPC_SERVER_H_ 5 #ifndef CHROME_SERVICE_SERVICE_IPC_SERVER_H_
6 #define CHROME_SERVICE_SERVICE_IPC_SERVER_H_ 6 #define CHROME_SERVICE_SERVICE_IPC_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 30 matching lines...) Expand all
41 virtual void OnChannelError(); 41 virtual void OnChannelError();
42 42
43 // IPC message handlers. 43 // IPC message handlers.
44 void OnEnableCloudPrintProxy(const std::string& lsid); 44 void OnEnableCloudPrintProxy(const std::string& lsid);
45 void OnEnableCloudPrintProxyWithRobot( 45 void OnEnableCloudPrintProxyWithRobot(
46 const std::string& robot_auth_code, 46 const std::string& robot_auth_code,
47 const std::string& robot_email, 47 const std::string& robot_email,
48 const std::string& user_email); 48 const std::string& user_email);
49 void OnGetCloudPrintProxyInfo(); 49 void OnGetCloudPrintProxyInfo();
50 void OnDisableCloudPrintProxy(); 50 void OnDisableCloudPrintProxy();
51 void OnEnableVirtualDriver();
52 void OnDisableVirtualDriver();
51 53
52 void OnShutdown(); 54 void OnShutdown();
53 void OnUpdateAvailable(); 55 void OnUpdateAvailable();
54 56
55 // Helper method to create the sync channel. 57 // Helper method to create the sync channel.
56 void CreateChannel(); 58 void CreateChannel();
57 59
58 IPC::ChannelHandle channel_handle_; 60 IPC::ChannelHandle channel_handle_;
59 scoped_ptr<IPC::SyncChannel> channel_; 61 scoped_ptr<IPC::SyncChannel> channel_;
60 // Indicates whether a client is currently connected to the channel. 62 // Indicates whether a client is currently connected to the channel.
61 bool client_connected_; 63 bool client_connected_;
62 64
63 // Allows threads other than the main thread to send sync messages. 65 // Allows threads other than the main thread to send sync messages.
64 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; 66 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
65 67
66 68
67 DISALLOW_COPY_AND_ASSIGN(ServiceIPCServer); 69 DISALLOW_COPY_AND_ASSIGN(ServiceIPCServer);
68 }; 70 };
69 71
70 #endif // CHROME_SERVICE_SERVICE_IPC_SERVER_H_ 72 #endif // CHROME_SERVICE_SERVICE_IPC_SERVER_H_
OLDNEW
« no previous file with comments | « chrome/service/chrome_service_application_mac.mm ('k') | chrome/service/service_ipc_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698