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

Side by Side Diff: remoting/host/daemon_process.h

Issue 17261013: Change the daemon start type to 'manual' if the host ID has been deleted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 7 years, 6 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 | « no previous file | remoting/host/daemon_process.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 REMOTING_HOST_DAEMON_PROCESS_H_ 5 #ifndef REMOTING_HOST_DAEMON_PROCESS_H_
6 #define REMOTING_HOST_DAEMON_PROCESS_H_ 6 #define REMOTING_HOST_DAEMON_PROCESS_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void OnConfigUpdated(const std::string& serialized_config) OVERRIDE; 60 virtual void OnConfigUpdated(const std::string& serialized_config) OVERRIDE;
61 virtual void OnConfigWatcherError() OVERRIDE; 61 virtual void OnConfigWatcherError() OVERRIDE;
62 62
63 // HostStatusMonitor interface. 63 // HostStatusMonitor interface.
64 virtual void AddStatusObserver(HostStatusObserver* observer) OVERRIDE; 64 virtual void AddStatusObserver(HostStatusObserver* observer) OVERRIDE;
65 virtual void RemoveStatusObserver(HostStatusObserver* observer) OVERRIDE; 65 virtual void RemoveStatusObserver(HostStatusObserver* observer) OVERRIDE;
66 66
67 // WorkerProcessIpcDelegate implementation. 67 // WorkerProcessIpcDelegate implementation.
68 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 68 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
69 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 69 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
70 virtual void OnPermanentError() OVERRIDE; 70 virtual void OnPermanentError(int exit_code) OVERRIDE;
71 71
72 // Sends an IPC message to the network process. The message will be dropped 72 // Sends an IPC message to the network process. The message will be dropped
73 // unless the network process is connected over the IPC channel. 73 // unless the network process is connected over the IPC channel.
74 virtual void SendToNetwork(IPC::Message* message) = 0; 74 virtual void SendToNetwork(IPC::Message* message) = 0;
75 75
76 // Called when a desktop integration process attaches to |terminal_id|. 76 // Called when a desktop integration process attaches to |terminal_id|.
77 // |desktop_process| is a handle of the desktop integration process. 77 // |desktop_process| is a handle of the desktop integration process.
78 // |desktop_pipe| specifies the client end of the desktop pipe. Returns true 78 // |desktop_pipe| specifies the client end of the desktop pipe. Returns true
79 // on success, false otherwise. 79 // on success, false otherwise.
80 virtual bool OnDesktopSessionAgentAttached( 80 virtual bool OnDesktopSessionAgentAttached(
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 scoped_ptr<HostEventLogger> host_event_logger_; 183 scoped_ptr<HostEventLogger> host_event_logger_;
184 184
185 base::WeakPtrFactory<DaemonProcess> weak_factory_; 185 base::WeakPtrFactory<DaemonProcess> weak_factory_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(DaemonProcess); 187 DISALLOW_COPY_AND_ASSIGN(DaemonProcess);
188 }; 188 };
189 189
190 } // namespace remoting 190 } // namespace remoting
191 191
192 #endif // REMOTING_HOST_DAEMON_PROCESS_H_ 192 #endif // REMOTING_HOST_DAEMON_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/daemon_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698