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

Unified Diff: remoting/host/elevated_controller_win.h

Issue 10537182: The user's consent to crash dumps reporting can now be set via the UI (Windows only). The checkbox … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/elevated_controller_module_win.cc ('k') | remoting/host/elevated_controller_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/elevated_controller_win.h
diff --git a/remoting/host/elevated_controller_win.h b/remoting/host/elevated_controller_win.h
index e76db77fa526d8d5a1bf7ad166414478391a820e..a341c4f89553dc7a9a56059eeedd24f219fc94f8 100644
--- a/remoting/host/elevated_controller_win.h
+++ b/remoting/host/elevated_controller_win.h
@@ -19,8 +19,8 @@ namespace remoting {
class ATL_NO_VTABLE ElevatedControllerWin
: public ATL::CComObjectRootEx<ATL::CComSingleThreadModel>,
public ATL::CComCoClass<ElevatedControllerWin, &CLSID_ElevatedController>,
- public ATL::IDispatchImpl<IDaemonControl, &IID_IDaemonControl,
- &LIBID_ChromotingElevatedControllerLib, 1, 0> {
+ public ATL::IDispatchImpl<IDaemonControl2, &IID_IDaemonControl2,
+ &LIBID_ChromotingElevatedControllerLib, 1, 1> {
public:
ElevatedControllerWin();
@@ -36,6 +36,10 @@ class ATL_NO_VTABLE ElevatedControllerWin
STDMETHOD(StopDaemon)();
STDMETHOD(UpdateConfig)(BSTR config);
+ // IDaemonControl2 implementation.
+ STDMETHOD(GetUsageStatsConsent)(BOOL* allowed, BOOL* set_by_policy);
+ STDMETHOD(SetUsageStatsConsent)(BOOL allowed);
+
DECLARE_NO_REGISTRY()
private:
@@ -43,6 +47,7 @@ class ATL_NO_VTABLE ElevatedControllerWin
BEGIN_COM_MAP(ElevatedControllerWin)
COM_INTERFACE_ENTRY(IDaemonControl)
+ COM_INTERFACE_ENTRY(IDaemonControl2)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
« no previous file with comments | « remoting/host/elevated_controller_module_win.cc ('k') | remoting/host/elevated_controller_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698