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

Side by Side Diff: remoting/host/win/host_service.h

Issue 10831271: [Chromoting] Adding uiAccess='true' to the remoting_me2me_host.exe's manifest as it is required to … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 8 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
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_WIN_HOST_SERVICE_H_ 5 #ifndef REMOTING_HOST_WIN_HOST_SERVICE_H_
6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_ 6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 void OnChildStopped(); 55 void OnChildStopped();
56 56
57 // Notifies the service of changes in session state. 57 // Notifies the service of changes in session state.
58 void OnSessionChange(); 58 void OnSessionChange();
59 59
60 // This is a common entry point to the main service loop called by both 60 // This is a common entry point to the main service loop called by both
61 // RunAsService() and RunInConsole(). 61 // RunAsService() and RunInConsole().
62 void RunMessageLoop(MessageLoop* message_loop); 62 void RunMessageLoop(MessageLoop* message_loop);
63 63
64 // Runs the binary specified in the command line elevated.
Wez 2012/08/15 23:22:20 nit: "Runs the binary specified by the command lin
alexeypa (please no reviews) 2012/08/15 23:55:50 Done.
65 int Elevate();
66
64 // This function handshakes with the service control manager and starts 67 // This function handshakes with the service control manager and starts
65 // the service. 68 // the service.
66 int RunAsService(); 69 int RunAsService();
67 70
68 // This function starts the service in interactive mode (i.e. as a plain 71 // This function starts the service in interactive mode (i.e. as a plain
69 // console application). 72 // console application).
70 int RunInConsole(); 73 int RunInConsole();
71 74
72 static BOOL WINAPI ConsoleControlHandler(DWORD event); 75 static BOOL WINAPI ConsoleControlHandler(DWORD event);
73 76
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 111
109 // Singleton. 112 // Singleton.
110 friend struct DefaultSingletonTraits<HostService>; 113 friend struct DefaultSingletonTraits<HostService>;
111 114
112 DISALLOW_COPY_AND_ASSIGN(HostService); 115 DISALLOW_COPY_AND_ASSIGN(HostService);
113 }; 116 };
114 117
115 } // namespace remoting 118 } // namespace remoting
116 119
117 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_ 120 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698