summaryrefslogtreecommitdiffstats
path: root/cloud_print
Commit message (Collapse)AuthorAgeFilesLines
* Remove autorun values if it points to the same user data as service.vitalybuka@chromium.org2013-03-272-0/+40
| | | | | | | | | BUG=224219 Review URL: https://chromiumcodereview.appspot.com/13042016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191050 0039d316-1c4b-4281-b951-d872f2087c98
* Additional command line switches for logging and to disable some components.vitalybuka@chromium.org2013-03-275-2/+36
| | | | | | | | BUG= 224219 Review URL: https://chromiumcodereview.appspot.com/13119004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191013 0039d316-1c4b-4281-b951-d872f2087c98
* Make --user-data-dir optional.vitalybuka@chromium.org2013-03-272-19/+32
| | | | | | | | BUG=223485 Review URL: https://chromiumcodereview.appspot.com/12521031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190906 0039d316-1c4b-4281-b951-d872f2087c98
* User grit to process resources.vitalybuka@chromium.org2013-03-2755-40/+405
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13003005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190884 0039d316-1c4b-4281-b951-d872f2087c98
* User constansts from chrome_switches.hvitalybuka@chromium.org2013-03-2714-75/+22
| | | | | | | | NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12924005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190878 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed string.vitalybuka@chromium.org2013-03-261-1/+1
| | | | | | | | NOTRY=True Review URL: https://chromiumcodereview.appspot.com/13054003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190790 0039d316-1c4b-4281-b951-d872f2087c98
* Send data back from service using IPC, not file.vitalybuka@chromium.org2013-03-2613-67/+468
| | | | | | | | | | This allows to avoid asking user to create BUG=223485 Review URL: https://chromiumcodereview.appspot.com/13039002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190523 0039d316-1c4b-4281-b951-d872f2087c98
* Stops service between status checkvitalybuka@chromium.org2013-03-221-0/+1
| | | | | | | | | TBR=gene NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12989026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189881 0039d316-1c4b-4281-b951-d872f2087c98
* Moved GetCurrentUserName to service_utils.* vitalybuka@chromium.org2013-03-224-13/+39
| | | | | | | | | | TBR=gene NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12676018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189880 0039d316-1c4b-4281-b951-d872f2087c98
* Added app icon and logo.vitalybuka@chromium.org2013-03-202-0/+4
| | | | | | | | | TBR=gene Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189064 Review URL: https://chromiumcodereview.appspot.com/12929008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189466 0039d316-1c4b-4281-b951-d872f2087c98
* Added app icon and logo.vitalybuka@chromium.org2013-03-192-0/+0
| | | | | | | TBR=gene Review URL: https://codereview.chromium.org/12929008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189064 0039d316-1c4b-4281-b951-d872f2087c98
* Moved resources to resources subdir.vitalybuka@chromium.org2013-03-194-21/+5
| | | | | | | | | TBR=gene Review URL: https://chromiumcodereview.appspot.com/12797003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188976 0039d316-1c4b-4281-b951-d872f2087c98
* Moved define to gyp file.vitalybuka@chromium.org2013-03-192-5/+1
| | | | | | | | TBR=gene Review URL: https://chromiumcodereview.appspot.com/12471009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188964 0039d316-1c4b-4281-b951-d872f2087c98
* Switched to version generation with ver files.vitalybuka@chromium.org2013-03-1211-128/+74
| | | | | | Review URL: https://chromiumcodereview.appspot.com/12745003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187687 0039d316-1c4b-4281-b951-d872f2087c98
* Exctracted ServiceController. vitalybuka@chromium.org2013-03-124-169/+251
| | | | | | | | | | BUG=0 Review URL: https://chromiumcodereview.appspot.com/12729003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187489 0039d316-1c4b-4281-b951-d872f2087c98
* Gyp file cleanup.vitalybuka@chromium.org2013-03-113-54/+30
| | | | | | | | | BUG=0 Review URL: https://chromiumcodereview.appspot.com/12702004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187415 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 187205 - Exctracted ServiceController.dmikurube@chromium.org2013-03-106-498/+380
| | | | | | | | | | | | | | | | | | 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
* Exctracted ServiceController.vitalybuka@chromium.org2013-03-106-380/+498
| | | | | | | | | BUG=0 TBR=gene Review URL: https://chromiumcodereview.appspot.com/12412017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187205 0039d316-1c4b-4281-b951-d872f2087c98
* 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