From a1585c8a0f44984ca749da4efeb9692ec43fa902 Mon Sep 17 00:00:00 2001 From: "dmikurube@chromium.org" Date: Sun, 10 Mar 2013 17:24:43 +0000 Subject: Revert 187205 - Exctracted ServiceController. It looks like caused the following "compile error". http://build.chromium.org/p/chromium.win/builders/Win%20x64%20Builder/builds/1363/steps/compile/logs/stdio FAILED: C:\b\depot_tools\python_bin\python.exe gyp-win-tool rc-wrapper environment.x64 rc.exe ... ..\..\cloud_print\service\win\cloud_print_service.rc ..\..\cloud_print\service\win\cloud_print_service.rc(13) : fatal error RC1015: cannot open include file 'version.h'. BUG=0 TBR=gene Review URL: https://chromiumcodereview.appspot.com/12412017 TBR=vitalybuka@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187213 0039d316-1c4b-4281-b951-d872f2087c98 --- cloud_print/service/win/service_controller.h | 41 ---------------------------- 1 file changed, 41 deletions(-) delete mode 100644 cloud_print/service/win/service_controller.h (limited to '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 deleted file mode 100644 index 4e06059..0000000 --- a/cloud_print/service/win/service_controller.h +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ -#define CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ - -#include -#include - -#include "base/string16.h" -#include "cloud_print/service/win/resource.h" - -namespace base { -class FilePath; -} // base - -class ServiceController { - public: - DECLARE_REGISTRY_APPID_RESOURCEID(IDR_CLOUDPRINTSERVICE, - "{8013FB7C-2E3E-4992-B8BD-05C0C4AB0627}") - - explicit ServiceController(const string16& name); - ~ServiceController(); - - HRESULT InstallService(const string16& user, - const string16& password, - const std::string& run_switch, - const base::FilePath& user_data_dir); - - HRESULT UninstallService(); - - HRESULT StartService(); - HRESULT StopService(); - - private: - const string16 name_; -}; - -#endif // CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ - -- cgit v1.1