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

Unified Diff: cloud_print/service/win/service_controller.h

Issue 14358019: Added Cloud Print Service installer/uninstaller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « cloud_print/service/win/installer.cc ('k') | cloud_print/service/win/service_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/service/win/service_controller.h
diff --git a/cloud_print/service/win/service_controller.h b/cloud_print/service/win/service_controller.h
index d703c0a753b140939305d654e8e70fc95312ce38..ab95396678c49bc1093163cf99942094e0dcc003 100644
--- a/cloud_print/service/win/service_controller.h
+++ b/cloud_print/service/win/service_controller.h
@@ -8,6 +8,7 @@
#include <atlbase.h>
#include <string>
+#include "base/command_line.h"
#include "base/string16.h"
#include "cloud_print/resources.h"
@@ -46,11 +47,15 @@ class ServiceController {
HRESULT StartService();
HRESULT StopService();
+ HRESULT UpdateBinaryPath();
+
// Query service status and options. Results accessible with getters below.
void UpdateState();
State state() const { return state_; }
const string16& user() const { return user_; }
- bool is_logging_enabled() const { return is_logging_enabled_; }
+ bool is_logging_enabled() const;
+
+ base::FilePath GetBinary() const;
private:
HRESULT InstallService(const string16& user,
@@ -64,6 +69,7 @@ class ServiceController {
State state_;
string16 user_;
bool is_logging_enabled_;
+ CommandLine command_line_;
};
#endif // CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_
« no previous file with comments | « cloud_print/service/win/installer.cc ('k') | cloud_print/service/win/service_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698