summaryrefslogtreecommitdiffstats
path: root/cloud_print
Commit message (Collapse)AuthorAgeFilesLines
* Remove all the "set noparent" directivesdpranke@chromium.org2012-10-191-1/+0
| | | | | | | | | | | | | Now that OWNERS supports per-file owners, we can limit the scope of the top-level wildcard to just DEPS, and make darin and ben owners for everything else and remove the broad use of "set noparent". R=ben@chromium.org, darin@chromium.org BUG=88315 Review URL: https://codereview.chromium.org/11191038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163069 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-145-111/+149
| | | | | | | | | | | | | | 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 a differnt GUID to access the Windows core driver that contains XPS.abodenha@chromium.org2012-07-271-1/+1
| | | | | | | | | | | | | | | The main Windows core printer driver has several different guids associated with it. Windows 8 removes all but 1 of these guids. This CL switches to use the guid that is still supported. AFAICT this should continue to work on all of the platforms we support. My testing is blocked at the moment due to a problem with internal software. BUG=139156 TEST=Try to install driver (all supported Windows versions) Review URL: https://chromiumcodereview.appspot.com/10830037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148816 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-115-5/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Use Chrome version for cloud print targets.vitalybuka@chromium.org2012-07-095-108/+132
| | | | | | | | | 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
* Added Chrome profile option in registry.vitalybuka@chromium.org2012-06-278-60/+104
| | | | | | | | | | | | Added check of both HKCU and HKLM values. Chrome location detection switched to launcher_support. BUG=none TEST=unittest Review URL: https://chromiumcodereview.appspot.com/10687007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144492 0039d316-1c4b-4281-b951-d872f2087c98
* Minor tweeks in virtual driver build.vitalybuka@chromium.org2012-06-266-6/+13
| | | | | | | | | | | | | | | 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-0620-189/+284
| | | | | | | | | | 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-0615-23/+668
| | | | | | | | | | | | | | 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-0615-668/+23
| | | | | | | | | | 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-0620-284/+189
| | | | | | | | | | | | 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-0620-189/+284
| | | | | | | | | | | | | | | 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-312-12/+12
| | | | | | | | | | | | 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
* Remove redundant includes of common.gypi and unused repo from DEPSscottmg@chromium.org2012-05-281-3/+0
| | | | | | | | | | | | | | | | | build/gyp_chromium forces include of build/common.gypi for all gyp files so including it in other .gyp files is redundant. In the case of some properties, it causes duplication in lists which causes problems. One of these was in build/util/support/support.gyp which is still getting synced, but apparently has been long deleted and removed (2011). But the DEPS were never rolled to remove the whole repo the last unused file got removed here http://codereview.chromium.org/6294009 apparently. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139259 Review URL: https://chromiumcodereview.appspot.com/10447026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139268 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 139259 - Remove redundant includes of common.gypi and unused repo ↵scottmg@google.com2012-05-281-0/+3
| | | | | | | | | | | | | | | | | | | | from DEPS build/gyp_chromium forces include of build/common.gypi for all gyp files so including it in other .gyp files is redundant. In the case of some properties, it causes duplication in lists which causes problems. One of these was in build/util/support/support.gyp which is still getting synced, but apparently has been long deleted and removed (2011). But the DEPS were never rolled to remove the whole repo the last unused file got removed here http://codereview.chromium.org/6294009 apparently. Review URL: https://chromiumcodereview.appspot.com/10447026 TBR=scottmg@google.com Review URL: https://chromiumcodereview.appspot.com/10459004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139261 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant includes of common.gypi and unused repo from DEPSscottmg@google.com2012-05-281-3/+0
| | | | | | | | | | | | | | | build/gyp_chromium forces include of build/common.gypi for all gyp files so including it in other .gyp files is redundant. In the case of some properties, it causes duplication in lists which causes problems. One of these was in build/util/support/support.gyp which is still getting synced, but apparently has been long deleted and removed (2011). But the DEPS were never rolled to remove the whole repo the last unused file got removed here http://codereview.chromium.org/6294009 apparently. Review URL: https://chromiumcodereview.appspot.com/10447026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139259 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
* Bump version number in google cloud printer.abodenha@chromium.org2012-05-021-4/+4
| | | | | | | | | | | | Localization has been added. Bump version in prep for a new build. BUG=106636 TEST=Version should be 0.1.0.4 Review URL: http://codereview.chromium.org/10291009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134852 0039d316-1c4b-4281-b951-d872f2087c98
* Localization for Google Cloud Printer.abodenha@chromium.org2012-05-0152-44/+440
| | | | | | | | | | | | Checks in initial strings and modifies project to build and load resources properly. BUG=106636 TEST=Install print driver in language other than EN. Printer name should be localized. Review URL: http://codereview.chromium.org/10269013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134743 0039d316-1c4b-4281-b951-d872f2087c98
* Adding Windows service template for Cloud Print connector.gene@chromium.org2012-04-277-1/+229
| | | | | | | | | | | | 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
* Fix issue with uninstall not deleting the installation folder.abodenha@chromium.org2012-04-131-21/+40
| | | | | | | | | | | | | Grabs the installation path from the registry rather than trying to delete the current folder. Allows uninstall to complete if unregistration of the port monitor fails. BUG=123087 TEST=Verify 123087 Review URL: http://codereview.chromium.org/9963144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132114 0039d316-1c4b-4281-b951-d872f2087c98
* Bump version number.abodenha@chromium.org2012-04-121-7/+7
| | | | | | | | | | BUG=123093 TEST=Check version number on produced files. Review URL: http://codereview.chromium.org/10008086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132073 0039d316-1c4b-4281-b951-d872f2087c98
* Modify overinstall flow for Google Cloud Printer to uninstall any previous ↵abodenha@chromium.org2012-04-121-15/+64
| | | | | | | | | | | | | | | version before installing. The new flow retrieves the location of the uninstall exe from the registry and copies it to a temp location. It marks the temp uninstaller for deletion on reboot and then launches it and waits for it to exit. Installation will proceed if there was no previous install or the uninstall succeeded. BUG=123091 TEST=Verify 123091 Review URL: http://codereview.chromium.org/10054040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132037 0039d316-1c4b-4281-b951-d872f2087c98
* Remove excessive logging in Virtual Print Driverabodenha@chromium.org2012-04-061-14/+0
| | | | | | | | | | BUG=112035 TEST=None Review URL: http://codereview.chromium.org/10006043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131212 0039d316-1c4b-4281-b951-d872f2087c98
* Change url to launch for prompting the user to install chrome.abodenha@chromium.org2012-03-222-2/+5
| | | | | | | | | | | | | | | If the user tries to print with the driver without chrome installed we send them to a page that explains why chrome is needed and offers it for download. This CL updates that url to the actual url we plan to use. (it currently returns a 404) Also sets the location of the created printer to be the url of the cloud print manage page. BUG=112019 TEST= Review URL: http://codereview.chromium.org/9838012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128302 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for XP SP3 in the Virtual Print Driver.abodenha@chromium.org2012-03-222-24/+67
| | | | | | | | | | | | | | | | Delayload winspool.drv and pull the files we need from fixed locations on XP instead of relying on core drivers. On Vista and later the install flow is unchanged GetCorePrinterDrivers and GetPrinterDriverPackagePath are delayloaded so they don't crash on XP. Needed to modify the CabinetCallback to handle the variable structure of the cabs on the different platforms. Added an OS version check on startup. BUG=112035 TEST=Install on XP SP3 Review URL: http://codereview.chromium.org/9812030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128253 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new 'run_all_unittests' target in baseakalin@chromium.org2012-03-211-4/+2
| | | | | | | | | | | | | Make all the places that include run_all_unittests.cc manually depend on this target instead. BUG= TEST= Review URL: http://codereview.chromium.org/9691067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127911 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "Google Cloud Print Printer" to "Google Cloud Printer"abodenha@chromium.org2012-03-091-1/+1
| | | | | | | | | | BUG=106636 TEST= Review URL: http://codereview.chromium.org/9666014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125930 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional languages for the cloud print printer.abodenha@chromium.org2012-03-022-12/+68
| | | | | | | | | | | | | Update strings. BUG=106636 TEST= Review URL: http://codereview.chromium.org/9433054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124764 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in 32-bit port monitor name.abodenha@chromium.org2012-02-221-2/+2
| | | | | | | | | | BUG=115304 TEST= Review URL: http://codereview.chromium.org/9432036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123119 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent Chrome from getting launched in the wrong context.abodenha@chromium.org2012-02-162-11/+48
| | | | | | | | | | | | Validate that we're in an impersonation context and not in session 0 before attempting to launch any UI. BUG=112010 TEST= Review URL: http://codereview.chromium.org/9406022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122365 0039d316-1c4b-4281-b951-d872f2087c98
* Launch Chrome DL page if we try to print without Chrome installed.abodenha@google.com2012-02-151-13/+52
| | | | | | | | | BUG=112019 TEST= Review URL: https://chromiumcodereview.appspot.com/9398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122169 0039d316-1c4b-4281-b951-d872f2087c98