summaryrefslogtreecommitdiffstats
path: root/cloud_print
Commit message (Collapse)AuthorAgeFilesLines
* Use a direct include of strings headers in cloud_print/.avi@chromium.org2013-06-1119-20/+20
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16511009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205432 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileEnumerator to its own file, do some refactoring.brettw@chromium.org2013-06-081-5/+3
| | | | | | | | | | | | | | It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. BUG=175002 Reland of 198820 and 298824 Original review = https://codereview.chromium.org/13165005 R=rvargas@chromium.org Review URL: https://codereview.chromium.org/16392011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205019 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in chrome_frame/, ↵avi@chromium.org2013-06-073-3/+3
| | | | | | | | | | | | chromeos/, cloud_print/, components/, courgette/, device/, extensions/. BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16614002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204961 0039d316-1c4b-4281-b951-d872f2087c98
* GCP2.0 Device: mDNS basicsmaksymb@chromium.org2013-06-075-0/+269
| | | | | | | | | | Socket binding and sending empty announcements BUG= Review URL: https://chromiumcodereview.appspot.com/16389002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204754 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS for googleurl. Second try.tfarina@chromium.org2013-06-031-1/+1
| | | | | | | | | | | | | | | - Update all the references from build/temp_gyp/googleurl.gyp to url/url.gyp. r184: Fix C++11 compilation on iOS r185: Forward includes to url/ BUG=229660 R=thestig@chromium.org,brettw@chromium.org TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/15421002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203672 0039d316-1c4b-4281-b951-d872f2087c98
* Update cloud_print/ to use scoped_refptr<T>::get() rather than implicit ↵rsleevi@chromium.org2013-06-021-1/+1
| | | | | | | | | | | | | "operator T*" Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16154014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203635 0039d316-1c4b-4281-b951-d872f2087c98
* Make cloud_print_unittests depend on allocator.gyp:allocator when necessaryakalin@chromium.org2013-05-211-0/+6
| | | | | | | | | | | This fixes the heapchecker+components release build. BUG=241938 TBR=gene@chromium.org Review URL: https://codereview.chromium.org/15380002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201367 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate switches gaia-host and gaia-url-path in favor of gaia-urlachuith@chromium.org2013-05-181-1/+1
| | | | | | | | | | | | | | | * Deprecate lso-host to replace with lso-url, which is the complete origin (not just the host). * Allow for http access of gaia-urls, not just https. * Add data member gaia_url_ and accessor to GaiaUrls, replacing gaia_origin_url_ * Replace javascript params gaiaOrigin and gaiaUrlPath with gaiaUrl. * Replace SetGaiaOriginForTesting with SetGaiaUrlForTesting. BUG=239151 TEST=manual with telemetry auth server. on linux and on the device with GAIA_FLAGS="--gaia-url=https://gaiastaging.corp.google.com --lso-url=https://test-sandbox.auth.corp.google.com --google-apis-host=www.googleapis-test.sandbox.google.com --oauth2-client-id=236834563817.apps.googleusercontent.com --oauth2-client-secret=RsKv5AwFKSzNgE0yjnurkPVI" Review URL: https://chromiumcodereview.appspot.com/14786022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200977 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198820 "Move FileEnumerator to its own file, do some refa..."dbeam@chromium.org2013-05-082-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Broke both windows clobber and official builders' compile with this error: 771>Link: 771> Creating library ..\..\..\build\Release\lib\gcp_portmon64.lib and object ..\..\..\build\Release\lib\gcp_portmon64.exp 771>base.lib(path_service.obj) : fatalerror LNK1112: module machine type 'X86' conflicts with target machine type 'x64' 771> 771>Build FAILED. > Move FileEnumerator to its own file, do some refactoring. > > It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. > > BUG=175002 > R=rvargas@chromium.org > > Review URL: https://codereview.chromium.org/13165005 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14824006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198850 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileEnumerator to its own file, do some refactoring.brettw@chromium.org2013-05-072-5/+4
| | | | | | | | | | | It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. BUG=175002 R=rvargas@chromium.org Review URL: https://codereview.chromium.org/13165005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198820 0039d316-1c4b-4281-b951-d872f2087c98
* cloud_print: Use base::MessageLoop.xhwang@chromium.org2013-05-064-37/+44
| | | | | | | | | BUG=236029 R=abodenha@chromium.org Review URL: https://chromiumcodereview.appspot.com/14522026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198513 0039d316-1c4b-4281-b951-d872f2087c98
* Allow cloud print connector to use test gaia.vitalybuka@chromium.org2013-05-032-1/+4
| | | | | | | | | BUG=236756 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14863003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198147 0039d316-1c4b-4281-b951-d872f2087c98
* Pass --cloud-print-service into GCP connector.vitalybuka@chromium.org2013-04-301-0/+1
| | | | | | | | BUG=236756 Review URL: https://chromiumcodereview.appspot.com/14617006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197467 0039d316-1c4b-4281-b951-d872f2087c98
* Cloud print service strings cleanup.vitalybuka@chromium.org2013-04-263-141/+229
| | | | | | Review URL: https://chromiumcodereview.appspot.com/14509007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196852 0039d316-1c4b-4281-b951-d872f2087c98
* Shortcut should be to *config.exe not *setup.exevitalybuka@chromium.org2013-04-261-0/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/14260007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196649 0039d316-1c4b-4281-b951-d872f2087c98
* Removed trailing '.' from some strings in resources.vitalybuka@chromium.org2013-04-261-2/+2
| | | | | | | | TBR=gene Review URL: https://chromiumcodereview.appspot.com/14260010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196602 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed crash in cloud_print_service_setup.exe, binary needs _AtlModule.vitalybuka@chromium.org2013-04-253-6/+15
| | | | | | | | | | | Use SUBSYSTEM:WINDOWS to avoid console shows up. TBR=gene, need official build by tomorrow. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14328054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196326 0039d316-1c4b-4281-b951-d872f2087c98
* Improvements in service setup.vitalybuka@chromium.org2013-04-257-46/+106
| | | | | | | | | | | | - Close chrome if service state is ready. - Better service display name and description. - Removed argument from ServiceController constructor. BUG=168692 Review URL: https://chromiumcodereview.appspot.com/14333022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196274 0039d316-1c4b-4281-b951-d872f2087c98
* Exctracted small setup executable.vitalybuka@chromium.org2013-04-2410-23/+56
| | | | | | | | R=gene Review URL: https://chromiumcodereview.appspot.com/14098008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196007 0039d316-1c4b-4281-b951-d872f2087c98
* Added Cloud Print Service installer/uninstaller.vitalybuka@chromium.org2013-04-2313-18/+251
| | | | | | | | | | | | Added Google Update integration. R=gene BUG=229183 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14358019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195765 0039d316-1c4b-4281-b951-d872f2087c98
* Added icon for virtual driver uninstaller.vitalybuka@chromium.org2013-04-231-0/+5
| | | | | | | | R=gene Review URL: https://chromiumcodereview.appspot.com/14417005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195758 0039d316-1c4b-4281-b951-d872f2087c98
* Moved more installer related code to cloud_print/common.vitalybuka@chromium.org2013-04-237-45/+64
| | | | | | | | R=gene Review URL: https://chromiumcodereview.appspot.com/14358018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195734 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed cloud_print_service_setup.exe to cloud_print_service_config.exe to ↵vitalybuka@chromium.org2013-04-235-7/+7
| | | | | | | | | | avoid Windows installer detector. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14225025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195668 0039d316-1c4b-4281-b951-d872f2087c98
* Replace .\ in user name with host before calling to ATL::CSid::LoadAccount.vitalybuka@chromium.org2013-04-183-2/+28
| | | | | | | | | ATL::CSid::LoadAccount can't lookup .\ names. R=gene Review URL: https://chromiumcodereview.appspot.com/14272004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194827 0039d316-1c4b-4281-b951-d872f2087c98
* Moved Google Update and install related code to cloud_print/commonvitalybuka@chromium.org2013-04-1810-162/+278
| | | | | | | | R=gene Review URL: https://chromiumcodereview.appspot.com/14107007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194799 0039d316-1c4b-4281-b951-d872f2087c98
* Create dir if it does not existst.vitalybuka@chromium.org2013-04-181-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13991009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194762 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 193992 "Lets try this again."jochen@chromium.org2013-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XP bots are still red, and it's still whining about URL.DLL > Lets try this again. > > Revert 193983 "Revert 193968 "Roll the DEPS for google-url."" > > > Revert 193968 "Roll the DEPS for google-url." > > > > > Roll the DEPS for google-url. > > > > > > And update all the references from build/temp_gyp/googleurl.gyp to url/url.gyp. > > > > > > This also changes googleurl.gyp to reference the files under url/, so that we > > > don't break the Blink tree. > > > > > > BUG=229660 > > > R=brettw@chromium.org > > > TBR=brettw@chromium.org > > > > > > Review URL: https://chromiumcodereview.appspot.com/14089011 > > > > TBR=tfarina@chromium.org > > Review URL: https://codereview.chromium.org/14028012 > > TBR=michaeln@google.com > Review URL: https://codereview.chromium.org/14109014 TBR=michaeln@google.com Review URL: https://codereview.chromium.org/14263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194151 0039d316-1c4b-4281-b951-d872f2087c98
* Lets try this again.michaeln@google.com2013-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Revert 193983 "Revert 193968 "Roll the DEPS for google-url."" > Revert 193968 "Roll the DEPS for google-url." > > > Roll the DEPS for google-url. > > > > And update all the references from build/temp_gyp/googleurl.gyp to url/url.gyp. > > > > This also changes googleurl.gyp to reference the files under url/, so that we > > don't break the Blink tree. > > > > BUG=229660 > > R=brettw@chromium.org > > TBR=brettw@chromium.org > > > > Review URL: https://chromiumcodereview.appspot.com/14089011 > > TBR=tfarina@chromium.org > Review URL: https://codereview.chromium.org/14028012 TBR=michaeln@google.com Review URL: https://codereview.chromium.org/14109014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193992 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 193968 "Roll the DEPS for google-url."michaeln@google.com2013-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | > Roll the DEPS for google-url. > > And update all the references from build/temp_gyp/googleurl.gyp to url/url.gyp. > > This also changes googleurl.gyp to reference the files under url/, so that we > don't break the Blink tree. > > BUG=229660 > R=brettw@chromium.org > TBR=brettw@chromium.org > > Review URL: https://chromiumcodereview.appspot.com/14089011 TBR=tfarina@chromium.org Review URL: https://codereview.chromium.org/14028012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193983 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the DEPS for google-url.tfarina@chromium.org2013-04-121-1/+1
| | | | | | | | | | | | | | | And update all the references from build/temp_gyp/googleurl.gyp to url/url.gyp. This also changes googleurl.gyp to reference the files under url/, so that we don't break the Blink tree. BUG=229660 R=brettw@chromium.org TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/14089011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193968 0039d316-1c4b-4281-b951-d872f2087c98
* Move path functions from file_util to FilePath object.brettw@chromium.org2013-04-122-6/+4
| | | | | | | | | | | | | | EnsureEndsWithSeparator used to check whether the file existed. This seems bad and unnecessary so I removed it. I removed file_util::ContainsPath and used the existing file_util::IsParent instead. The functions descriptions are the same but the implementations do slightly different things, which is worrying. The only non-test use of this function to worry about is content/browser/storage_partition_impl_map.cc. As far as I see, the requirements for this seem OK, but I'm not very familiar with this. After some discussion with akalin, I changed sync/internal_api/sync_manager_impl.cc to be a DCHECK that the path is absolute rather than make it absolute. The old code relied on the behavior of the old function that the argument would be unchanged if the file didn't exist, and this (possibly relative) path would be used later. This behavior doesn't make a lot of sense, and it looks like now that the path is always absolute, so I replaced this call with a DCHECK. BUG= Review URL: https://codereview.chromium.org/13196006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193855 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_array<T> to scoped_ptr<T[]> in cloud_print.dcheng@chromium.org2013-04-111-1/+1
| | | | | | | | | | | | This is a manual cleanup pass using sed for files which are not built on Linux. BUG=171111 Review URL: https://chromiumcodereview.appspot.com/13842004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193600 0039d316-1c4b-4281-b951-d872f2087c98
* Cloud print service setup dialog.vitalybuka@chromium.org2013-04-116-1/+578
| | | | | | | | BUG=229183 Review URL: https://chromiumcodereview.appspot.com/13912002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193557 0039d316-1c4b-4281-b951-d872f2087c98
* Re-factored service controlled for using in new UI.vitalybuka@chromium.org2013-04-093-13/+115
| | | | | | | | | | | | Two Install methods to distinguish between different install cases. Methods to query service status. BUG=229183 Review URL: https://chromiumcodereview.appspot.com/13845002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193216 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call AbsolutePath for empty values.vitalybuka@chromium.org2013-04-091-1/+2
| | | | | | | | | | AbsolutePath convert empty values to abs path to current dir. TBR=gene Review URL: https://chromiumcodereview.appspot.com/13901003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193058 0039d316-1c4b-4281-b951-d872f2087c98
* Common code moved to cloud_print/common/vitalybuka@chromium.org2013-04-0910-57/+90
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13770012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193041 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed typos.vitalybuka@chromium.org2013-04-094-10/+10
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13800005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193018 0039d316-1c4b-4281-b951-d872f2087c98
* Restore proxy_id after generation new Service State file.vitalybuka@chromium.org2013-04-081-5/+7
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13771017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192947 0039d316-1c4b-4281-b951-d872f2087c98
* Removed unused xtb files.vitalybuka@chromium.org2013-04-0854-389/+44
| | | | | | | | Shorter target names. Review URL: https://chromiumcodereview.appspot.com/13637008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192870 0039d316-1c4b-4281-b951-d872f2087c98
* User Chrome to generate service state file.vitalybuka@chromium.org2013-03-285-23/+163
| | | | | | | | BUG=143234 Review URL: https://chromiumcodereview.appspot.com/13151003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191223 0039d316-1c4b-4281-b951-d872f2087c98
* 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