summaryrefslogtreecommitdiffstats
path: root/cloud_print/service
Commit message (Collapse)AuthorAgeFilesLines
* net: Change argument of URLRequest::set_upload from UploadData to ↵hashimoto@chromium.org2012-12-151-4/+6
| | | | | | | | | | | | | | | UploadDataStream Users of URLRequest are now responsible to create UploadDataStream. UploadOwnedBytesElementReader is moved from upload_data_stream.cc to upload_bytes_element_reader.h. BUG=156574 TEST=net_unittests and git try TBR=abodenha@chromium.org for cloud_print/service/service_state.cc Review URL: https://chromiumcodereview.appspot.com/11439008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173318 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using URLRequest::AppendBytesToUpload from ServiceStatehashimoto@chromium.org2012-11-201-1/+4
| | | | | | | | | | | | | AppendBytesToUpload will be soon deleted. It can be easily replaced with set_upload() BUG=161708 TEST=git try Review URL: https://chromiumcodereview.appspot.com/11308088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168734 0039d316-1c4b-4281-b951-d872f2087c98
* Moved chrome detection to service process.vitalybuka@chromium.org2012-09-143-35/+49
| | | | | | | | | | | Renamed related code. BUG=148913 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10910282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156906 0039d316-1c4b-4281-b951-d872f2087c98
* Improved cloud print service installation.vitalybuka@chromium.org2012-09-144-111/+148
| | | | | | | | | | | | | | Removed quiet option. Prompt for Windows user/password instead of switches. Show printers available for selected account. Check permissions and available printers in real system process. Generate guid as proxy_id if it's empty. BUG=148913 Review URL: https://chromiumcodereview.appspot.com/10919262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156719 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed spacing in command line help.vitalybuka@chromium.org2012-08-161-1/+1
| | | | | | | | | BUG=none. TBR=gene@chromium.org Review URL: https://chromiumcodereview.appspot.com/10837285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151912 0039d316-1c4b-4281-b951-d872f2087c98
* Removed default account for service.vitalybuka@chromium.org2012-08-156-44/+228
| | | | | | | | | | | | | Added required options run-as-user and run-as-password. Added code to set security rights required to run service. File access and chrome binary checks changed from fatal error to just error message. BUG=141243 Review URL: https://chromiumcodereview.appspot.com/10824294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151652 0039d316-1c4b-4281-b951-d872f2087c98
* Don't send and store any cookies.vitalybuka@chromium.org2012-07-311-0/+5
| | | | | | | | | | BUG=139674 TEST=none TBR=gene@chromium.org Review URL: https://chromiumcodereview.appspot.com/10830086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149146 0039d316-1c4b-4281-b951-d872f2087c98
* Correct const accessors in base/values.(h|cc)vabr@chromium.org2012-07-271-2/+1
| | | | | | | | | | | | | For problem description and other info please see the BUG page. This is for DictionaryValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr Review URL: https://chromiumcodereview.appspot.com/10834004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98
* Use Chrome version for cloud print targets.vitalybuka@chromium.org2012-07-092-104/+116
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10692093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145704 0039d316-1c4b-4281-b951-d872f2087c98
* Minor tweeks in virtual driver build.vitalybuka@chromium.org2012-06-261-4/+0
| | | | | | | | | | | | | | | Fixed missing def file. Combined DEPS file. Copying of ppd file to allow install from build directory. Renamed GCP-driver.ppd -> gcp-driver.ppd Added gcp-driver.ppd into official build files to minimize number of files in signing project. BUG=131058 TEST=none Review URL: https://chromiumcodereview.appspot.com/10636063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144296 0039d316-1c4b-4281-b951-d872f2087c98
* Added URLRequestContext to constructor for URLRequest.erikwright@chromium.org2012-06-221-2/+1
| | | | | | | | | | | | | Previously, the context was set using the member function set_context. Note that the context for a URLRequest is not allowed to be null. BUG=81979 TEST=None TBR=ajwong,brettw,vitalybuka,sky Review URL: https://chromiumcodereview.appspot.com/10559036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143595 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out logic to find chrome.exe from Omaha client state.erikwright@chromium.org2012-06-215-66/+15
| | | | | | | | | | | | | | Besides these two clients, will also be used by the Chrome Application Host stub. R=robertshield,abodenha CC=grt BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10546149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143423 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old Sleep and PostDelayedTask interfaces that use int ms instead of ↵tedvessenes@gmail.com2012-06-211-2/+3
| | | | | | | | | | | | TimeDelta. The previous version of this patch was reverted due to crashing cros_x86 and cros_tegra2 builds. See: http://codereview.chromium.org/9703053/ BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10572030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143401 0039d316-1c4b-4281-b951-d872f2087c98
* Apply again r140703 with all new filesloislo@chromium.org2012-06-069-31/+16
| | | | | | | | | | BUG=none TEST=none TBR=vitalybuka Review URL: https://chromiumcodereview.appspot.com/10543022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140737 0039d316-1c4b-4281-b951-d872f2087c98
* Not all the files were addedloislo@chromium.org2012-06-069-3/+510
| | | | | | | | | | | | | | Revert "Apply early reverted r140703." This reverts commit d27b2f905be9538f966c513146407dc0ab7ead36. BUG=none TEST=none TBR=vitalybuka Review URL: https://chromiumcodereview.appspot.com/10543021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140736 0039d316-1c4b-4281-b951-d872f2087c98
* Apply early reverted r140703.loislo@chromium.org2012-06-069-510/+3
| | | | | | | | | | BUG=none TEST=none TBR=vitalybuka Review URL: https://chromiumcodereview.appspot.com/10540024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140735 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary revert "Single binary for unittests."loislo@chromium.org2012-06-069-16/+31
| | | | | | | | | | | | This reverts commit e1a31ac75aa84f07134de78fc0cec6a49added50. BUG=none TEST=none TBR=vitalybuka Review URL: https://chromiumcodereview.appspot.com/10543020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140731 0039d316-1c4b-4281-b951-d872f2087c98
* Single binary for unittests.vitalybuka@chromium.org2012-06-069-31/+16
| | | | | | | | | | | | | | | Root solution for src/cloud_print. Build cloud_print_unittests on bots. Added virtual_driver_lib with shared files. Moved service_state out of win dir as platform independent. BUG=131058 TEST=unittests Review URL: https://chromiumcodereview.appspot.com/10505010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140703 0039d316-1c4b-4281-b951-d872f2087c98
* Validation of write access to chrome profile.vitalybuka@chromium.org2012-06-011-12/+72
| | | | | | | | | | BUG=125026 TEST=none Review URL: https://chromiumcodereview.appspot.com/10454109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140110 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140102 - Remove old PostDelayedTask interfaces that use int ms ↵asanka@chromium.org2012-06-011-3/+2
| | | | | | | | | | | | | | | | instead of TimeDelta. Compile failed on ChromiumOS x86 and Tegra. BUG=108171 Review URL: https://chromiumcodereview.appspot.com/9703053 TBR=tedvessenes@gmail.com Review URL: https://chromiumcodereview.appspot.com/10496002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140109 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old PostDelayedTask interfaces that use int ms instead of TimeDelta.tedvessenes@gmail.com2012-06-011-2/+3
| | | | | | | | | BUG=108171 Review URL: https://chromiumcodereview.appspot.com/9703053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140102 0039d316-1c4b-4281-b951-d872f2087c98
* Added ChromeLauncher.vitalybuka@chromium.org2012-06-016-17/+281
| | | | | | | | | | | | Added --app switch for debuggin. BUG=125026 TEST=none Review URL: https://chromiumcodereview.appspot.com/10444101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139947 0039d316-1c4b-4281-b951-d872f2087c98
* Remove carriage returns from some files.joaodasilva@chromium.org2012-05-311-6/+6
| | | | | | | | | | | | This caused the CQ to fail to land some patches (e.g. https://chromiumcodereview.appspot.com/9703053/) TBR=abodenha@chromium.org BUG=None TEST=Nothing breaks Review URL: https://chromiumcodereview.appspot.com/10442109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139756 0039d316-1c4b-4281-b951-d872f2087c98
* Base: Add a handle verifier to ScopedHandle.rvargas@chromium.org2012-05-311-1/+2
| | | | | | | | | | | | | This provides basic tracking of handles for XP. BUG=127931 TEST=none TBR=abodenha, wez Review URL: https://chromiumcodereview.appspot.com/10453082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139736 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed AppID registration.vitalybuka@chromium.org2012-05-292-24/+44
| | | | | | | | | | | Removed user confirmation on missing state file. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10459005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139381 0039d316-1c4b-4281-b951-d872f2087c98
* Validates service state file and ask user to update information if necessarily.vitalybuka@chromium.org2012-05-226-3/+529
| | | | | | | | | | | | | Connects to Google servers to get authentication tokens. BUG=125026 TEST=service_state_unittest.cc Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138294 Review URL: https://chromiumcodereview.appspot.com/10414020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138371 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Validates service state file and ask user to update information if ↵vandebo@chromium.org2012-05-225-526/+3
| | | | | | | | | | | | | | necessarily." This reverts commit 138294. TBR=chromium-reviews@chromium.org BUG=125026 TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10407102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138301 0039d316-1c4b-4281-b951-d872f2087c98
* Validates service state file and ask user to update information if necessarily.vitalybuka@chromium.org2012-05-225-3/+526
| | | | | | | | | | | Connects to Google servers to get authentication tokens. BUG=125026 TEST=service_state_unittest.cc Review URL: https://chromiumcodereview.appspot.com/10414020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138294 0039d316-1c4b-4281-b951-d872f2087c98
* Switched to chromium command line parsing code.vitalybuka@chromium.org2012-05-113-42/+150
| | | | | | | | | | | | | | | | | | | | | | | Added logging. Added switche for user data dir. Added usage help. Usage: cloud_print_service.exe [[[ -install -user-data-dir=DIRECTORY [ -quiet ]]] | -uninstall | -start | -stop ] Manages cloud print service. -install Installs cloud print as windows service. -user-data-dir User data directory with "Service State" file. -quiet Fails without questions if something wrong. -uninstall Uninstalls windows service. -start Starts windows service. May be combined with installation. -stop Stops windows service. BUG=125026 TEST=none Review URL: https://chromiumcodereview.appspot.com/10377080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136598 0039d316-1c4b-4281-b951-d872f2087c98
* - Move UninstallService handling code.vitalybuka@chromium.org2012-05-093-14/+154
| | | | | | | | | | | | | - Install cloud_print_service with AUTORUN as LocalService user. - Disable COM support. - Enable UAC to get admin. - Added parameters to start/stop service. BUG=125026 Review URL: https://chromiumcodereview.appspot.com/10382026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136054 0039d316-1c4b-4281-b951-d872f2087c98
* Adding Windows service template for Cloud Print connector.gene@chromium.org2012-04-276-0/+226
Current Service can register and unrerister itself as a Windows Service. This service is not part of the Chrome browser, but belongs to the place as virtual print driver for cloud print. BUG=125026 TEST=Build and verify service gets registered with "/Service" command. And unregistered with "/UninstallService" command. Review URL: https://chromiumcodereview.appspot.com/10222011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134298 0039d316-1c4b-4281-b951-d872f2087c98