summaryrefslogtreecommitdiffstats
path: root/remoting/base
Commit message (Collapse)AuthorAgeFilesLines
* Rename Chromoting string resource IDs from IDR_ to IDS_.lambroslambrou@chromium.org2014-01-271-1/+1
| | | | | | | | | This makes the names consistent with other string resources in Chrome, and is needed for localizing the Android client. Review URL: https://codereview.chromium.org/140683010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247303 0039d316-1c4b-4281-b951-d872f2087c98
* Comment cleanup in remoting.grt@chromium.org2014-01-151-4/+1
| | | | | | | | | | BUG=316496 R=garykac@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/138253004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245005 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, ↵avi@chromium.org2013-12-252-3/+4
| | | | | | | | | | | | sandbox/, skia/, sql/, sync/, tools/, webkit/, win8/ to use the base:: namespace. BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/121123002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242502 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of Value in extensions/, google_apis/, gpu/, media/, net/, ↵avi@chromium.org2013-12-231-1/+1
| | | | | | | | | | | | printing/, remoting/, rlz/, sync/, ui/ to use the base:: namespace. BUG=88666 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/116433007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242410 0039d316-1c4b-4281-b951-d872f2087c98
* Make top and left a multiple of 2 for testing clip.fbarchard@chromium.org2013-12-121-9/+10
| | | | | | | | | | BUG=327872,306876 TEST=valgrind out/Debug/remoting_unittests --single-process-tests --gtest_filter=*Rgb* R=sergeyu@chromium.org Review URL: https://codereview.chromium.org/103533005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240269 0039d316-1c4b-4281-b951-d872f2087c98
* Move remoting::GetUsername() from remoting/base to remoting/hostsergeyu@chromium.org2013-12-112-29/+0
| | | | | | | | | | | GetUsername() doesn't belong to remoting/base because it's not used by the client. BUG=276739 Review URL: https://codereview.chromium.org/112353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240064 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 239921 "Revert 239759 "The comment in base64.h implies th..."vadimt@chromium.org2013-12-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ***************** Reverting the revert. Congrats, the original CL wasn't the cause for the failure; sorry for the mess. ***************** > Revert 239759 "The comment in base64.h implies that base::Base64..." > > > The comment in base64.h implies that base::Base64Encode() can return false, but > > this cannot happen in practice. Fix the comment. > > > > The implementation of Base64Encode() attempts to check for the return value > > MODP_B64_ERROR as a failure, but modp_b64_encode() cannot return this > > value. Remove the check. > > > > Remove unneeded integer cast. > > > > Change the return type to void. > > > > BUG=323357 > > TEST=base_unittests, compile all > > TBR=jochen@chromium.org,miket@chromium.org,joi@chromium.org,akalin@chromium.org,sergeyu@chromium.org > > > > Review URL: https://codereview.chromium.org/86913002 > > TBR=ricea@chromium.org > > Review URL: https://codereview.chromium.org/101113004 TBR=vadimt@chromium.org Review URL: https://codereview.chromium.org/111883004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239944 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 239759 "The comment in base64.h implies that base::Base64..."vadimt@chromium.org2013-12-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | > The comment in base64.h implies that base::Base64Encode() can return false, but > this cannot happen in practice. Fix the comment. > > The implementation of Base64Encode() attempts to check for the return value > MODP_B64_ERROR as a failure, but modp_b64_encode() cannot return this > value. Remove the check. > > Remove unneeded integer cast. > > Change the return type to void. > > BUG=323357 > TEST=base_unittests, compile all > TBR=jochen@chromium.org,miket@chromium.org,joi@chromium.org,akalin@chromium.org,sergeyu@chromium.org > > Review URL: https://codereview.chromium.org/86913002 TBR=ricea@chromium.org Review URL: https://codereview.chromium.org/101113004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239921 0039d316-1c4b-4281-b951-d872f2087c98
* The comment in base64.h implies that base::Base64Encode() can return false, butricea@chromium.org2013-12-101-3/+1
| | | | | | | | | | | | | | | | | | | | this cannot happen in practice. Fix the comment. The implementation of Base64Encode() attempts to check for the return value MODP_B64_ERROR as a failure, but modp_b64_encode() cannot return this value. Remove the check. Remove unneeded integer cast. Change the return type to void. BUG=323357 TEST=base_unittests, compile all TBR=jochen@chromium.org,miket@chromium.org,joi@chromium.org,akalin@chromium.org,sergeyu@chromium.org Review URL: https://codereview.chromium.org/86913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239759 0039d316-1c4b-4281-b951-d872f2087c98
* Create ProxyConfigService on IOS in remoting/base/url_request_context.cclambroslambrou@chromium.org2013-11-281-2/+3
| | | | | | Review URL: https://codereview.chromium.org/92823003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237726 0039d316-1c4b-4281-b951-d872f2087c98
* Replace all usage of LOG(INFO) in Chromoting host with HOST_LOG to bypass ↵weitaosu@chromium.org2013-11-261-0/+21
| | | | | | | | | | the presubmit check. This won't spam the chrome output because the chromoting host code doesn't run in the chrome processes. BUG= Review URL: https://codereview.chromium.org/86523005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237431 0039d316-1c4b-4281-b951-d872f2087c98
* Don't support iOS in CreateSystemProxyConfigService()lambroslambrou@chromium.org2013-11-201-0/+3
| | | | | | | | Updated this method since iOS is not supported by Chromoting host. Review URL: https://codereview.chromium.org/59633005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236151 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid creating keys and self-signed certs separately.bemasc@chromium.org2013-11-011-0/+4
| | | | | | | | | | | | | | Security best-practices dictate that the same public key should not be signed by multiple hash algorithms. This CL prevents that problem by replacing x509_util::CreateSelfSignedCertificate with CreateKeyAndSelfSignedCertificate. This should allow us to change hash functions in x509_utils without worrying that users may re-sign old keys with the new hash function. Review URL: https://codereview.chromium.org/27832002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232292 0039d316-1c4b-4281-b951-d872f2087c98
* Move Linux/Android breakpad implementation to breakpad componentjochen@chromium.org2013-10-221-1/+1
| | | | | | | | | | | | | Also split up breakpad component in more subdirectories and tighten up DEPS rules BUG=247431 R=rsesek@chromium.org TBR=darin@chromium.org Review URL: https://codereview.chromium.org/31243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229964 0039d316-1c4b-4281-b951-d872f2087c98
* Move windows breakpad code to the breakpad componentjochen@chromium.org2013-10-171-1/+1
| | | | | | | | | | | | Also remove a bit of dead code. BUG=247431 R=rsesek@chromium.org TBR=jln@chromium.org,wez@chromium.org Review URL: https://codereview.chromium.org/27112003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229120 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up remaining unused globals (on mac).thakis@chromium.org2013-09-261-1/+0
| | | | | | | | | | | | Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, jamesr@chromium.org, koz@chromium.org, piman@chromium.org, sergeyu@chromium.org, thestig@chromium.org, vitalybuka@chromium.org TBR=cpu, dmichael, joi, xhwang Review URL: https://codereview.chromium.org/24579003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225281 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on Skia from chromoting client.sergeyu@chromium.org2013-09-253-115/+127
| | | | | | | | | | | | | | Now DesktopRegion, DesktopRect and DesktopSize are used instead of corresponding skia types. R=alexeypa@chromium.org TBR=reed@google.com (for _moved_ skia dependency) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224101 Review URL: https://codereview.chromium.org/23440046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225265 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 224101 "Remove dependency on Skia from chromoting client."sergeyu@chromium.org2013-09-193-127/+115
| | | | | | | | | | | | | | | | | > Remove dependency on Skia from chromoting client. > > Now DesktopRegion, DesktopRect and DesktopSize are used instead of > corresponding skia types. > > TBR=reed@google.com (for _moved_ skia dependency) > > Review URL: https://chromiumcodereview.appspot.com/23440046 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/24217003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224205 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on Skia from chromoting client.sergeyu@chromium.org2013-09-193-115/+127
| | | | | | | | | | | Now DesktopRegion, DesktopRect and DesktopSize are used instead of corresponding skia types. TBR=reed@google.com (for _moved_ skia dependency) Review URL: https://chromiumcodereview.appspot.com/23440046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224101 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused parameter from url_request_contextrmsousa@chromium.org2013-08-142-6/+1
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/23005007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217689 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the way the client pairings are stored in the registry.alexeypa@chromium.org2013-08-091-42/+0
| | | | | | | | | | | The pairings are now stored as JSON encoded values under privileged/unprivileged keys, which not requires creating of sub keys. This lets an unprivileged process to save and delete entries as long as it holds a handle with write access. BUG=156182 R=brettw@chromium.org, jamiewalch@chromium.org Review URL: https://codereview.chromium.org/22345002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216751 0039d316-1c4b-4281-b951-d872f2087c98
* Converted remoting_unittests back to be a plain executable.alexeypa@chromium.org2013-08-071-8/+3
| | | | | | | | | | | This should fix Mac ASAN and mac_rel bots. BUG=268043 R=kalman@chromium.org Review URL: https://codereview.chromium.org/22286003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216203 0039d316-1c4b-4281-b951-d872f2087c98
* disable ResourcesTest.ProductNamecourage@chromium.org2013-08-071-8/+8
| | | | | | | | | | | | | Disabled remoting_unittests.ResourcesTest.ProductName on Linux because it breaks "Linux Chromium OS ASAN Tests". r215996 almost did this, but the MAYBE macro wasn't used. BUG=269143 TBR=alexeypa@chromium.org Review URL: https://codereview.chromium.org/22300011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216051 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled remoting_unittests.ResourcesTest.ProductName on Linux because it ↵alexeypa@chromium.org2013-08-061-0/+7
| | | | | | | | | | | breaks "Linux Chromium OS ASAN Tests". TBR=dpapad@chromium.org BUG=269143 Review URL: https://codereview.chromium.org/22349003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215996 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented a pairing registry delegate that stores the pairings in the ↵alexeypa@chromium.org2013-08-031-0/+42
| | | | | | | | | | | | Windows registry. The delegate supports two different keys for storing privileged (the shared secret) and unprivileged data (the rest of the fields). BUG=156182 Review URL: https://chromiumcodereview.appspot.com/21641002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215461 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed loading resources from the host plugin's bundle on Mac.alexeypa@chromium.org2013-08-032-13/+15
| | | | | | | | | | | | The plugins shares the Cocoa class namespace with the Chrome's helper binary hosting the plugin. Because the client plugin is compiled into Chrome, Chrome's instance of NSBundleLocator is passed to NSBundle::bundleForClass, breaking resource loading as the result. This CL switches to using dladdr() to get the bundle path instead of NSBUndle::bundleForClass. BUG=267239 Review URL: https://chromiumcodereview.appspot.com/21976003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215459 0039d316-1c4b-4281-b951-d872f2087c98
* Localized Chromoting Host on Mac and Linux.alexeypa@chromium.org2013-07-316-62/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-landing r214379. Two additional fixes: - HOST_PLUGIN_MIME_TYPE is passed unquoted making the code the uses it responsible for stringizing it. - msvs_cygwin_shell is set to 0 to avoid cygpath changing "remoting_locales\nl.pak" to "remoting_ocales\nl.pak". This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. Collateral changes: - UiString is not used any more. - Increased width of disconnect window message on Mac. - The host plugin version is correctly reported on Mac. - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). - remoting_unittests.ResourcesTest now runs on Mac, LInux and Windows. - '@' is used for variable substitutions by remoting_localize.py. - HOST_PLUGIN_MIME_TYPE is defined in one place now. - Deleted unused commong_resources.grd. Mac installer and preference panel are not localized yet. BUG=155204 Review URL: https://chromiumcodereview.appspot.com/21059003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214855 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 214379 "Localized Chromoting Host on Mac and Linux."alexeypa@google.com2013-07-306-129/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CL broke "Google Chrome Win" in a strange way: http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/19799/steps/compile/logs/stdio 671> Traceback (most recent call last): 671> File "webapp/build-webapp.py", line 331, in <module> 671> sys.exit(main()) 671> File "webapp/build-webapp.py", line 327, in main 671> sys.argv[5], sys.argv[6], files, locales, patches) 671> File "webapp/build-webapp.py", line 141, in buildWebApp 671> shutil.copy2(current_locale, destination_file) 671> File "c:\b\build\slave\google-chrome-rel-win\build\src\third_party\python_26\lib\shutil.py", line 99, in copy2 671> copyfile(src, dst) 671> File "c:\b\build\slave\google-chrome-rel-win\build\src\third_party\python_26\lib\shutil.py", line 52, in copyfile 671> fsrc = open(src, 'rb') 671> IOError: [Errno 2] No such file or directory: 'c:/b/build/slave/google-chrome-rel-win/build/src/build/Release/\\remoting_ocales\\nl.pak' 671>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1. > Localized Chromoting Host on Mac and Linux. > > Re-landing r213997. TBR because this is a trivial, mechanical fix. > > This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: > - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' > - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. > - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. > > Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. > > Collateral changes: > - UiString is not used any more. > - Increased width of disconnect window message on Mac. > - The host plugin version is correctly reported on Mac. > - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). > - remoting_unittests.ResourcesTest now runs on Mac, LInux and Windows. > - '@' is used for variable substitutions by remoting_localize.py. > - HOST_PLUGIN_MIME_TYPE is defined in one place now. > - Deleted unused commong_resources.grd. > > Mac installer and preference panel are not localized yet. > > TBR=garykac@chromium.org > BUG=155204 > > Review URL: https://codereview.chromium.org/20985002 TBR=alexeypa@chromium.org Review URL: https://codereview.chromium.org/21090006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214401 0039d316-1c4b-4281-b951-d872f2087c98
* Localized Chromoting Host on Mac and Linux.alexeypa@chromium.org2013-07-306-62/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-landing r213997. TBR because this is a trivial, mechanical fix. This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. Collateral changes: - UiString is not used any more. - Increased width of disconnect window message on Mac. - The host plugin version is correctly reported on Mac. - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). - remoting_unittests.ResourcesTest now runs on Mac, LInux and Windows. - '@' is used for variable substitutions by remoting_localize.py. - HOST_PLUGIN_MIME_TYPE is defined in one place now. - Deleted unused commong_resources.grd. Mac installer and preference panel are not localized yet. TBR=garykac@chromium.org BUG=155204 Review URL: https://codereview.chromium.org/20985002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214379 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 213997 "Localized Chromoting Host on Mac and Linux."alexeypa@google.com2013-07-266-129/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It passed CQ but broke Linux Builder. I'm filing a bug agains CQ. > Localized Chromoting Host on Mac and Linux. > > This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: > - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' > - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. > - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. > > Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. > > Collateral changes: > - UiString is not used any more. > - Increased width of disconnect window message on Mac. > - The host plugin version is correctly reported on Mac. > - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). > - remoting_unittests.ResourcesTest row runs on Mac, LInux and Windows. > - '@' is used for variable substitutions by remoting_localize.py. > - HOST_PLUGIN_MIME_TYPE is defined in one place now. > - Deleted unused commong_resources.grd. > > Mac installer and preference panel are not localized yet. > > BUG=155204 > > Review URL: https://chromiumcodereview.appspot.com/19803010 TBR=alexeypa@chromium.org Review URL: https://codereview.chromium.org/20854002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213998 0039d316-1c4b-4281-b951-d872f2087c98
* Localized Chromoting Host on Mac and Linux.alexeypa@chromium.org2013-07-266-62/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. Collateral changes: - UiString is not used any more. - Increased width of disconnect window message on Mac. - The host plugin version is correctly reported on Mac. - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). - remoting_unittests.ResourcesTest row runs on Mac, LInux and Windows. - '@' is used for variable substitutions by remoting_localize.py. - HOST_PLUGIN_MIME_TYPE is defined in one place now. - Deleted unused commong_resources.grd. Mac installer and preference panel are not localized yet. BUG=155204 Review URL: https://chromiumcodereview.appspot.com/19803010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213997 0039d316-1c4b-4281-b951-d872f2087c98
* Update include paths in remoting for base/process changes.rsesek@chromium.org2013-07-231-1/+1
| | | | | | | | | BUG=242290 R=alexeypa@chromium.org Review URL: https://codereview.chromium.org/19653007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213110 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Use WeakPtr<HttpServerProperties> instead of raw pointersakalin@chromium.org2013-07-181-1/+3
| | | | | | | | | | | | | | | This will let us better track down what is causing SpdySessions to be accessing them after they're destroyed, since we'll have crash reports instead of just the SyzyASAN reports. Also use scoped_ptr<HttpServerProperties> when appropriate. BUG=236451 TBR=ajwong@chromium.org, rtenneti@chromium.org, simonjam@chromium.org, wez@chromium.org Review URL: https://codereview.chromium.org/19731002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212466 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of the message_loop header in remoting/.avi@chromium.org2013-07-174-4/+4
| | | | | | | | | | BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19574007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212173 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use reentrant version of getpwuid on Androidsolb@chromium.org2013-07-091-4/+6
| | | | | | | | The platform doesn't implement this POSIX function. Review URL: https://chromiumcodereview.appspot.com/18532006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210589 0039d316-1c4b-4281-b951-d872f2087c98
* Move url_request_context from remoting/host/ to remoting/base/solb@chromium.org2013-07-044-0/+287
| | | | | | | | | This will make it easy for future non--Web app client implementations to make use of this class. The vlog_net_log class also had to be relocated. Review URL: https://chromiumcodereview.appspot.com/18460003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210235 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in ppapi/, printing/, remoting/.avi@chromium.org2013-06-284-4/+4
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://codereview.chromium.org/18052008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209151 0039d316-1c4b-4281-b951-d872f2087c98
* Remove platform-specific implementations of RSAPrivateKey and SignatureCreatorrsleevi@chromium.org2013-06-271-14/+10
| | | | | | | | | | | | | Use NSS/OpenSSL on all platforms, rather than deferring to the underlying OS routines. Because X509Certificate::CreateSelfSigned no longer relies on platform-native types for RSA keys or certificates, it has been moved to x509_util and simply returns a DER-encoded certificate as a string. BUG=none R=wtc Review URL: https://chromiumcodereview.appspot.com/17265013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208870 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in remoting/.avi@chromium.org2013-06-114-4/+4
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16181013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205464 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ↵avi@chromium.org2013-06-072-3/+3
| | | | | | | | | | | | ipc/, media/, ppapi/, printing/, remoting/, rlz/, skia/, sql/, sync/, third_party/, tools/, webkit/, win8/. BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15995038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204967 0039d316-1c4b-4281-b951-d872f2087c98
* Use a weak pointer to post service control events and session change ↵alexeypa@chromium.org2013-06-072-106/+0
| | | | | | | | | | notifications. BUG=241136 Review URL: https://chromiumcodereview.appspot.com/16143004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204918 0039d316-1c4b-4281-b951-d872f2087c98
* Update remoting/ and jingle/ to use scoped_refptr<T>::get() rather than ↵rsleevi@chromium.org2013-06-016-13/+15
| | | | | | | | | | | | | implicit "operator T*" Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/15782010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203573 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: base: Support setting thread priorities generically.epenner@chromium.org2013-05-221-4/+4
| | | | | | | | | | | | | | | | | | | This patch supports setting priorities across platforms at the PlatformThread level, by stashing thread id into the thread handle on linux/android. Since this adds more platform specific code, and #ifdefs were starting to get unwieldy, all platform specific code is moved into _platform.cc files, with the exception of the 'default' implementation, which stay in _posix. BUG=170549 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201202 Review URL: https://chromiumcodereview.appspot.com/12741012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201389 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201202 "base: Support setting thread priorities generically."scottmg@chromium.org2013-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Broke "sizes" by adding may static initializers. > base: Support setting thread priorities generically. > > This patch supports setting priorities across platforms > at the PlatformThread level, by stashing thread id into the > thread handle on linux/android. > > Since this adds more platform specific code, and #ifdefs > were starting to get unwieldy, all platform specific code > is moved into _platform.cc files, with the exception of the > 'default' implementation, which stay in _posix. > > BUG=170549 > > Review URL: https://chromiumcodereview.appspot.com/12741012 TBR=epenner@chromium.org Review URL: https://codereview.chromium.org/15311004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201215 0039d316-1c4b-4281-b951-d872f2087c98
* base: Support setting thread priorities generically.epenner@chromium.org2013-05-211-4/+4
| | | | | | | | | | | | | | | | | This patch supports setting priorities across platforms at the PlatformThread level, by stashing thread id into the thread handle on linux/android. Since this adds more platform specific code, and #ifdefs were starting to get unwieldy, all platform specific code is moved into _platform.cc files, with the exception of the 'default' implementation, which stay in _posix. BUG=170549 Review URL: https://chromiumcodereview.appspot.com/12741012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201202 0039d316-1c4b-4281-b951-d872f2087c98
* remoting: Use base::MessageLoop.xhwang@chromium.org2013-04-304-29/+31
| | | | | | | | | BUG=236029 R=alexeypa@chromium.org Review URL: https://chromiumcodereview.appspot.com/14314026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197247 0039d316-1c4b-4281-b951-d872f2087c98
* remoting: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.scherkus@chromium.org2013-04-271-1/+1
| | | | | | | | | | It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 Review URL: https://chromiumcodereview.appspot.com/14522010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196888 0039d316-1c4b-4281-b951-d872f2087c98
* Use libyuv for non-scaling RGB<->YUV conversions.wez@chromium.org2013-04-191-20/+12
| | | | | | | | | | | | This switches Chromoting hosts to use libyuv for RGB->YUV and clients to use libyuv for non-scaling rendering. TEST=remoting_unittests BUG=145561 Review URL: https://chromiumcodereview.appspot.com/13474013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195268 0039d316-1c4b-4281-b951-d872f2087c98
* Set the initial resolution of an RDP session to the client screen resolution ↵alexeypa@chromium.org2013-04-193-0/+174
| | | | | | | | | | | | | | | | | | if it is available. Changes in this CL: - The version of the control channel is increased to 3. This allows the host and client to tell if the peer supports capabilities negotiation or not. - The client and host negotiate supported capabilities by sending each other a list of the supported capabilities. Capabilities supported by both client and host are assumed to be enabled. - The client plugin and webapp negotiate the list of capabilities supported by the client. The webapp has the final word. - The DesktopEnvironment interface was extended to provide the list of all supported capabilities and receive the results of negotiation with the client. - Added the 'sendInitialResolution' capability. When it is enabled the client sends its screen resolution to the host once the connection has been established. - DesktopSessionProxy now waits for the client screen resolution when the 'sendInitialResolution' capability is enabled. BUG=230893 Review URL: https://chromiumcodereview.appspot.com/13932020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195192 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_array<T> to scoped_ptr<T[]> in remoting/, Linux edition.dcheng@chromium.org2013-04-083-4/+4
| | | | | | | | | | This changelist was automatically generated using a clang tool. BUG=171111 Review URL: https://codereview.chromium.org/13642007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192873 0039d316-1c4b-4281-b951-d872f2087c98