summaryrefslogtreecommitdiffstats
path: root/cloud_print
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Google Update registry value names. vitalybuka@chromium.org2013-03-071-5/+4
| | | | | | | | | NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12545012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186575 0039d316-1c4b-4281-b951-d872f2087c98
* Reordered install steps to make sure that driver is installed before port ↵vitalybuka@chromium.org2013-03-062-21/+25
| | | | | | | | | | | | | | monitor. Driver and port monitor both check for XPS presence, but only driver set Google Update error string on fail. Better logging. BUG=179290 Review URL: https://chromiumcodereview.appspot.com/12416007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186358 0039d316-1c4b-4281-b951-d872f2087c98
* Error message about missing XPS driver.vitalybuka@chromium.org2013-03-055-16/+49
| | | | | | | | | BUG=179290 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12389088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186126 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed virtual driver on XP.vitalybuka@chromium.org2013-02-262-11/+24
| | | | | | | | | | | | Unpack dependencies from cache and system directory. Don't use Low Integrity App Data. TBR=gene NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12347004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184603 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-242-2/+2
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed gcp-driver.ppd to gcp_driver.gpd, bacaus now it's configuration file ↵vitalybuka@chromium.org2013-02-223-2/+2
| | | | | | | | | | of Unidrv, which usually has extension gpd. BUG=none Review URL: https://chromiumcodereview.appspot.com/12335028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184180 0039d316-1c4b-4281-b951-d872f2087c98
* Switched UI from PostScript to XPS.vitalybuka@chromium.org2013-02-222-80/+146
| | | | | | | | | | TBR=gene NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12319063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184057 0039d316-1c4b-4281-b951-d872f2087c98
* Don't store temp files in program directory.vitalybuka@chromium.org2013-02-221-32/+25
| | | | | | | | | TBR=gene NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12316052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184051 0039d316-1c4b-4281-b951-d872f2087c98
* Make cloud_print service build on Win64 jschuh@chromium.org2013-02-191-0/+4
| | | | | | | | | | | | | Just c4267 build suppressions. BUG=166496 BUG=167187 TBR=abodenha@chromium.org R=abodenha@chromium.org Review URL: https://chromiumcodereview.appspot.com/12282034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183161 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more remaining FilePath -> base::FilePath.brettw@chromium.org2013-02-189-90/+90
| | | | | | | | This removes the "using" in file_path.h for Mac since Mac now passes trybots with no using. It still leaves the using for Windows. Review URL: https://codereview.chromium.org/12294008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183066 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed location and name of temporarily files.vitalybuka@chromium.org2013-02-131-8/+30
| | | | | | | | | | | | Don't append XPS extension. Use empty file created by CreateTemporaryFileInDir. Use AppData subdir same as ProgramFiles subdir. Delete leaked files. BUG=172554 Review URL: https://chromiumcodereview.appspot.com/12218117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182068 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed virtual driver uninstall.vitalybuka@chromium.org2013-02-121-23/+20
| | | | | | | | | Main uninstall should be done in parent process. Child process should only delete program directory. Otherwise Windows sees that uninstall reg path still exists and shows error. Review URL: https://chromiumcodereview.appspot.com/12211125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182025 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/ChromeOS Chromium style checker cleanup, assorted top directories edition.rsleevi@chromium.org2013-02-071-2/+3
| | | | | | | | | | | | Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 TBR=miket Review URL: https://chromiumcodereview.appspot.com/12245003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181292 0039d316-1c4b-4281-b951-d872f2087c98
* Add FilePath to base namespace.brettw@chromium.org2013-02-022-4/+4
| | | | | | | This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use GlobalAlloc.vitalybuka@chromium.org2013-01-291-56/+58
| | | | | | | | | | Removed unused constant. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12091030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179317 0039d316-1c4b-4281-b951-d872f2087c98
* Disable cache in PathService.vitalybuka@chromium.org2013-01-291-0/+2
| | | | | | | | | | | | | | | Google Cloud Printer implements port monitor. It's DLL that loaded into windows Spooler service (spoolsv.exe). Port monitor saves printed document to temp file and then runs Chrome.exe to send this file to cloud print. spoolsv.exe always runs as SYSTEM, but threads that call port monitor is executed as user, that spooled print jobs. Port monitor should be able to find Chrome.exe for different user. Now port monitor uses chrome_launcher_support::GetAnyChromePath(), which uses PathService, is to find chrome. If cache is enabled, port monitor will always use paths generated for the first users. BUG=170300 Review URL: https://chromiumcodereview.appspot.com/12079030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179234 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed failing overinstall.vitalybuka@chromium.org2013-01-241-11/+23
| | | | | | | | | TBR=gene Review URL: https://chromiumcodereview.appspot.com/12049066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178590 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling nacl_win64 targets when building in target_arch!=ia32 mode.bradnelson@google.com2013-01-211-0/+4
| | | | | | | | | | | | | | | | When building on windows with target_arch=x64, we no longer need win32 targets forced to be 64-bit. This gates out these targets when target_arch!=ia32. (Prior CL dropped the minimal set to break the dependency between these targets and the rest of the build. This eliminates them completely.) BUG=None TEST=None R=jschuh@chromium.org,thestig@chromium.org TBR=darin@chromium.org,abodenha@chromium.org,apatrick@chromium.org,sra@chromium.org,wtc@chromium.org Review URL: https://chromiumcodereview.appspot.com/11929039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177959 0039d316-1c4b-4281-b951-d872f2087c98
* Dont completly uninstall old version on install.vitalybuka@chromium.org2013-01-181-19/+10
| | | | | | | | | | | We need to keed Google Update keys, and driver binarys if it's the same version. BUG=170857 Review URL: https://chromiumcodereview.appspot.com/11859024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177760 0039d316-1c4b-4281-b951-d872f2087c98
* Improved setup reliability.vitalybuka@chromium.org2013-01-121-85/+138
| | | | | | | | | | | | | * Register/unregister without the other install/uninstall actions. * Implicit switches for install, register, uninstall, unregistered. * Restart spooler if uninstall can't delete port monitor. BUG=169069 Review URL: https://chromiumcodereview.appspot.com/11876005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176583 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed HRESULT handling.vitalybuka@chromium.org2013-01-111-16/+18
| | | | | | | | NOTRY=true Review URL: https://codereview.chromium.org/11864007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176460 0039d316-1c4b-4281-b951-d872f2087c98
* Replaced "Omaha" with "Google Update"vitalybuka@chromium.org2013-01-111-6/+5
| | | | | | | | NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176457 0039d316-1c4b-4281-b951-d872f2087c98
* 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
* Change www.crbug.com (fails) links to crbug.com links (works).dbeam@chromium.org2012-12-061-1/+1
| | | | | | | | | | | | BUG=none TEST=working links TBR=ben@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11437043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171625 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
* 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