summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_config.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch to standard integer types in remoting/host/.avi2015-12-221-1/+0
| | | | | | | | | BUG=138542 TBR=wez@chromium.org Review URL: https://codereview.chromium.org/1547473005 Cr-Commit-Position: refs/heads/master@{#366676}
* Changes to support GCD hosts:jrw2015-05-081-0/+2
| | | | | | | | | | | | | - Added GCD device ID to host config. - Disabled email verification for GCD devices. Disabling email verification is necessary because it is apparently not possible to retrieve an email address for a device registered through GCD. BUG=471928 Review URL: https://codereview.chromium.org/1108203003 Cr-Commit-Position: refs/heads/master@{#328891}
* Remove ClientLogin support from remoting hostsergeyu2015-03-021-4/+0
| | | | | | | | | | | All hosts should be using OAuth2 now, so ClientLogin support can be removed. BUG=446646,83897 Review URL: https://codereview.chromium.org/959033004 Cr-Commit-Position: refs/heads/master@{#318716}
* Replace HostConfig with a simple dictionary.wez2014-11-231-34/+11
| | | | | | | | BUG=416308 Review URL: https://codereview.chromium.org/697483002 Cr-Commit-Position: refs/heads/master@{#305380}
* Save the client base JID for authentication in case it differs from the ↵rmsousa2014-09-291-2/+4
| | | | | | | | | | email (for accounts non-Google email). Keep a separate email field for use in user-facing UIs, logs, etc. Using the existing host_owner field for the base JID guarantees the correct *functional* behavior (i.e. authentication-wise) if the new config is used with an older host (the only difference is aesthetic - in that older host some UI/logs may show an uglier address instead of the user email). BUG=224742 Review URL: https://codereview.chromium.org/595063005 Cr-Commit-Position: refs/heads/master@{#297269}
* Add video frame recording capability to Chromoting hosts.wez@chromium.org2014-08-021-0/+2
| | | | | | | | | | | | | | This will be used to record sequences of video frames for real-world sessions, for performance-evaluation purposes. If the host is run with a video-recording buffer size specified then it will advertise a videoRecorder capability to clients. Clients seeing this capability can send "video-recorder" extension messages to the host to start and stop recording, and to fetch the next recorded frame. Frames are encoded to VideoPackets using the "verbatim" encoder, and must then be serialized and Base-64 encoded for transmission via the extension message protocol. See crrev.com/386853002 for the client part of this. Review URL: https://codereview.chromium.org/372943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287183 0039d316-1c4b-4281-b951-d872f2087c98
* Add enable_vp9 option to host config.wez@chromium.org2014-06-171-0/+2
| | | | | | Review URL: https://codereview.chromium.org/331853009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277876 0039d316-1c4b-4281-b951-d872f2087c98
* Support service accounts in the chromoting host.rmsousa@chromium.org2013-08-161-0/+2
| | | | | | | | | | This change allows running a host *already configured* with service account credentials. Support for obtaining service account credentails during host setup will come in follow up CLs. BUG=224742 Review URL: https://chromiumcodereview.appspot.com/19796006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217941 0039d316-1c4b-4281-b951-d872f2087c98
* Enable crash-reporting for Mac host, for users who opt in.lambroslambrou@chromium.org2012-12-101-0/+2
| | | | | | | | | | | | | This enables the Web UI for opting in, and sets an option in the Host config accordingly. The host, during startup, reads the config option and enables crash-reporting if set. BUG=136579 Review URL: https://chromiumcodereview.appspot.com/11447003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172183 0039d316-1c4b-4281-b951-d872f2087c98
* Always use google_apis to get the client ID.alexeypa@chromium.org2012-10-101-2/+0
| | | | | | | | | BUG=150042 Review URL: https://chromiumcodereview.appspot.com/11087057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161191 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DaemonControllerLinux::SetConfigAndStart() to reload config automatically.sergeyu@chromium.org2012-08-161-0/+9
| | | | | | | | | | | Also fixed several issues with managing chromoting from the webapp. Now it is possible to start the app and change PIN. BUG=120950 Review URL: https://chromiumcodereview.appspot.com/10824286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151969 0039d316-1c4b-4281-b951-d872f2087c98
* Remoting daemon process to support unofficial client IDhclam@chromium.org2012-04-241-0/+2
| | | | | | | | | | | | | | Allow the use of unofficial client for the daemon process even if it is an official build. Which client ID to be used is chosen by the webapp. BUG=123693 TEST=Run a dev build webapp with an official daemon Review URL: http://codereview.chromium.org/10116040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133582 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup and simplify HostConfig and JsonHostConfig.sergeyu@chromium.org2012-04-071-6/+8
| | | | | | | | | | | | | | These classes were previously overdesigned. Simplifying them. - Config doesn't need to be ref-counted. - Save() is synchronous now. - Config is NonThreadSafe now. BUG=120950 Review URL: http://codereview.chromium.org/10007048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131288 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented OAuth2 support for remoting_me2me_host.jamiewalch@chromium.org2012-03-201-0/+2
| | | | | | | | | | | | | Note that this still doesn't allow hosts to be registered using OAuth, as that's still the domain of the Python script. BUG=None TEST=Modify auth.json so that the xmpp_auth_token is your OAuth refresh token (get it from the web-apps local storage) and add the following line: "xmpp_auth_service": "oauth-refresh" Review URL: http://codereview.chromium.org/9721008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127758 0039d316-1c4b-4281-b951-d872f2087c98
* Enable V2 authentication for Me2Me host.sergeyu@chromium.org2012-01-241-1/+3
| | | | | | | | | | | | | Updated both Me2me host and simple host to accept spake2_hmac auth. They still accept V1 authentication. Also the corresponding scripts are updated to ask for PIN BUG=107777 Review URL: http://codereview.chromium.org/9270031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118860 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded forward declarations from remoting.thestig@chromium.org2011-11-111-5/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8536002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109593 0039d316-1c4b-4281-b951-d872f2087c98
* Wire in OAuth2 support into non-sandboxed connections in libjingle.ajwong@chromium.org2011-05-251-1/+3
| | | | | | | | | BUG=none TEST=can connect w/o ClientLogin token. Review URL: http://codereview.chromium.org/7008003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86685 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* HostConfig interface updates.sergeyu@chromium.org2010-12-161-9/+9
| | | | | | | | | | | | | | | - Simplified mutation semantic: Update() replaced with Save(). Set methods can be called at any time. - JsonHostConfig now inherits from InMemoryHostConfig to avoid code duplication. - Added kHostEnabledConfigPath. BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/5738008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69454 0039d316-1c4b-4281-b951-d872f2087c98
* Basic user access check for chromoting host.sergeyu@chromium.org2010-09-021-0/+2
| | | | | | | | | BUG=53984 TEST=unittests Review URL: http://codereview.chromium.org/3303001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58301 0039d316-1c4b-4281-b951-d872f2087c98
* Replaced char* with to char[].sergeyu@chromium.org2010-08-131-5/+5
| | | | | | | | | TEST=compiles BUG=None Review URL: http://codereview.chromium.org/3036044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55978 0039d316-1c4b-4281-b951-d872f2087c98
* Convert src/remoting to std::string/char* away from wstring/wchar_t*.viettrungluu@chromium.org2010-07-311-12/+7
| | | | | | | | | | | This is easy now that DictionaryValue uses std::string for keys. BUG=23581 TEST=remoting_unittests Review URL: http://codereview.chromium.org/3060034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54441 0039d316-1c4b-4281-b951-d872f2087c98
* Replaced static wstring with wchar_t*.sergeyu@chromium.org2010-07-281-5/+5
| | | | | | | | | BUG=None TEST=compiles Review URL: http://codereview.chromium.org/2908011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54007 0039d316-1c4b-4281-b951-d872f2087c98
* Added RSA key generator for register_host.pysergeyu@chromium.org2010-07-141-4/+2
| | | | | | | | | TEST=None BUG=None Review URL: http://codereview.chromium.org/2958001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52406 0039d316-1c4b-4281-b951-d872f2087c98
* JSON based host config storage implemented. Python script for host registration.sergeyu@chromium.org2010-06-171-54/+43
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/2804007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50166 0039d316-1c4b-4281-b951-d872f2087c98
* Added HostConfig class. Changed SimpleHost to use it.sergeyu@chromium.org2010-06-151-0/+79
BUG=none TEST=unittests Review URL: http://codereview.chromium.org/2810002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49852 0039d316-1c4b-4281-b951-d872f2087c98