summaryrefslogtreecommitdiffstats
path: root/chromeos
Commit message (Collapse)AuthorAgeFilesLines
* Automated Commit: Committing new LKGM version 3680.0.0 for chromeos.chromeos-lkgm@google.com2013-02-091-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181609 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3676.0.0 for chromeos.chromeos-lkgm@google.com2013-02-081-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181456 0039d316-1c4b-4281-b951-d872f2087c98
* Added more default expectations to MockDBusThreadManager.joaodasilva@chromium.org2013-02-081-6/+11
| | | | | | | | | This prevents warnings when using a MockDBusThreadManager in a browser_test. Review URL: https://chromiumcodereview.appspot.com/12218056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181449 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce IBusBridge for ibus-less implementation.nona@chromium.org2013-02-073-0/+188
| | | | | | | | | | | | | | | IBusBridge provides access of each ibus event handler. This patch is second try of https://codereview.chromium.org/11956041/ Using singleton in chromeos/ directory breaks component build. BUG=170671 TEST=None Review URL: https://chromiumcodereview.appspot.com/12088085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181372 0039d316-1c4b-4281-b951-d872f2087c98
* Code cleaning: Uses scoped_ptr<> to express ownership rather than writing ↵yuki@chromium.org2013-02-0711-143/+136
| | | | | | | | | | | | | | ownership in comments. Replaces Response* with scoped_ptr<Response> in dbus code and its related code. BUG=163231 TEST=no regression / no behavior changes Review URL: https://chromiumcodereview.appspot.com/12092061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181266 0039d316-1c4b-4281-b951-d872f2087c98
* Observe devices in NetworkStateHandlerstevenjb@chromium.org2013-02-0714-300/+458
| | | | | | | | | | | | | | | | This includes a bit of cleanup to NetworkStateHandler and ShillPropertyHandler. I made ShillServicePropertyObserver support devices, renamed it ShillPropertyObserver, and moved it into ShillPropertyHandler since: a) naming it would be challenging without context b) It doesn't really do much, so if we want something similar (e.g. in NetworkConfigurationHandler) it will be easier just to copy/paste the code we need BUG=161869 Review URL: https://chromiumcodereview.appspot.com/12211051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181254 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3668.0.0 for chromeos.chromeos-lkgm@google.com2013-02-071-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181253 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r181070, "chromeos: Add power management policy prefs."derat@chromium.org2013-02-0713-5/+329
| | | | | | | | | | | | | This reverts a revert, r181072. The original change broke the clang builder due to a missing OVERRIDE. BUG=173849 TBR=bartfab@chromium.org Review URL: https://chromiumcodereview.appspot.com/12212051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181168 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r181070, "chromeos: Add power management policy prefs."derat@chromium.org2013-02-0613-328/+5
| | | | | | | | | BUG=173849 TBR=vitalybuka Review URL: https://codereview.chromium.org/12210047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181072 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add power management policy prefs.derat@chromium.org2013-02-0613-5/+328
| | | | | | | | | | | | This adds various prefs related to power management. A new PowerPolicyController class is responsible for sending them to powerd. BUG=173849,chromium-os:38281 Review URL: https://codereview.chromium.org/12186010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181070 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/ChromeOS Chromium style checker cleanup, chromeos edition.rsleevi@chromium.org2013-02-067-20/+21
| | | | | | | | | | | Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://chromiumcodereview.appspot.com/12217030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181043 0039d316-1c4b-4281-b951-d872f2087c98
* Calling Shill's ConfigureService instead of GetService for configuring VPN.pneubeck@chromium.org2013-02-068-19/+31
| | | | | | | | | BUG=chromium-os:31523 Review URL: https://chromiumcodereview.appspot.com/12039087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180998 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented attestation message flow for Chrome OS.dkrahn@google.com2013-02-068-0/+829
| | | | | | | | | | | | | | Chrome OS has an attestation service which can interact with a Privacy CA in order to generate an attestation certificate. The AttestationFlow class coordinates this interaction. BUG=chromium-os:37806 TEST=unit Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178354 Review URL: https://chromiumcodereview.appspot.com/11932004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180987 0039d316-1c4b-4281-b951-d872f2087c98
* Added more default expectations to MockDBusThreadManager.joaodasilva@chromium.org2013-02-062-2/+24
| | | | | | | | | This prevents a lot of warnings when using a MockDBusThreadManager in a browser_test. Review URL: https://chromiumcodereview.appspot.com/12223011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180967 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3663.0.0 for chromeos.chromeos-lkgm@google.com2013-02-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180931 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Register new suspend delay on powerd restart.derat@chromium.org2013-02-052-23/+49
| | | | | | | | | | | | | | | | This makes PowerManagerClient register a new suspend delay when it receives notification via D-Bus that the power manager has restarted. It also adds a PowerManagerRestarted() method to its observer interface for observers that'll need to send additional state to the power manager when it restarts (e.g. power management policies). BUG=174197 Review URL: https://chromiumcodereview.appspot.com/12214002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180738 0039d316-1c4b-4281-b951-d872f2087c98
* Add manager selection for locally managed accountantrim@chromium.org2013-02-052-0/+5
| | | | | | | | | BUG=171923 Review URL: https://chromiumcodereview.appspot.com/12087108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180698 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3660.0.0 for chromeos.chromeos-lkgm@google.com2013-02-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180635 0039d316-1c4b-4281-b951-d872f2087c98
* This adds a private extension API to use for simple networkinggspencer@chromium.org2013-02-041-0/+5
| | | | | | | | | | | | | | | | requests (connect/disconnect/visible networks, etc). (TBR'ing owners for chrome/ because of simple addition of files to chrome_browser_chromeos.gypi) TBR=sky@chromium.org BUG=chromium:168713 TEST=ran new browser api test Review URL: https://chromiumcodereview.appspot.com/11975015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180525 0039d316-1c4b-4281-b951-d872f2087c98
* Enable NetworkStateHandler alwaysstevenjb@chromium.org2013-02-046-424/+4
| | | | | | | | | | | | | | | | | | | | | | This CL should have no affect on Chrome's behavior. It does the following: * Removes --enable-new-network-handlers and always enables them * Adds --ash-enable-new-network-status-area and uses that to control whether or not to use the new status area code * Adds --enable-new-network-change-notifier and uses that to control whether or not to use the new NetworkStateHandler based network change notifier * Deletes the unused NetworkDeviceHandler (this was added thinking that it was needed for Geolocation, but it turned out that the code had changed between Flimflam and Shill so it wasn't necessary) BUG=161869 For chrome/browser/ui/webui/chromeos, ash/ash_switches: TBR=xiyuan@chromium.org,sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/12095106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180505 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome: Enable ChromeOS-Wide-Profilingasharif@chromium.org2013-02-043-0/+56
| | | | | | | | | | | | | | | | | | | | We want to gather perf data collected by running "perf record -a" from opt-in ChromeOS users. This CL enables that. We use debugd in ChromeOS to run quipper, a program that runs "perf record -a" and returns that data in a protobuf. We do this every 12 hours for 2 seconds. The overhead is minimal (5% slowdown for 2 seconds on "lumpy" machines). BUG=157508 TEST=Manual: Change the perf record interval from 12 hours to 1 minute and set a breakpoint on ParseProtoIfValid(). It gets hit and the protobuf is parsed properly. Review URL: https://chromiumcodereview.appspot.com/11185038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180484 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3656.0.0 for chromeos.chromeos-lkgm@google.com2013-02-041-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180355 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3652.0.0 for chromeos.chromeos-lkgm@google.com2013-02-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180300 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3647.0.0 for chromeos.chromeos-lkgm@google.com2013-02-021-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180252 0039d316-1c4b-4281-b951-d872f2087c98
* Add FilePath to base namespace.brettw@chromium.org2013-02-022-3/+5
| | | | | | | 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
* Move string tokenizer to base/strings.brettw@chromium.org2013-02-021-2/+2
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/12087091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180211 0039d316-1c4b-4281-b951-d872f2087c98
* Screensaver implementation for ChromeOS.rkc@chromium.org2013-02-013-1/+18
| | | | | | | | | | | | | | | This is the initial implementation for screensaver extensions. The feature is currently behind a flag and installing an extension with a screensaver permission without the flag enabled will do nothing. This currently allows one Screensaver extension to be installed at a time, and brings up the screensaver after a fixed 2 minutes. Further work to be done is to add different timeouts for power manager if the screensaver is active, add more tests and add security features for the screensaver permission (if needed, this needs to be discussed still). TBR'ed jhawkins for chrome_browser_chromeos.gypi R=mpcomplete@chromium.org,stevenjb@chromium.org BUG=163681 TBR=jhawkins@chromium.org Review URL: https://codereview.chromium.org/12093058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180189 0039d316-1c4b-4281-b951-d872f2087c98
* Added GetSanitizedUsername() method to CryptohomeClient.joaodasilva@chromium.org2013-02-013-0/+34
| | | | | | | | | | | This method takes the username and asynchronously returns its sanitized form. The cryptohomed side was implemented at https://gerrit.chromium.org/gerrit/#/c/42300/. BUG=163318 Review URL: https://codereview.chromium.org/12094075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180130 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3642.0.0 for chromeos.chromeos-lkgm@google.com2013-02-011-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180112 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Pass suspend-delay description to powerd.derat@chromium.org2013-01-311-0/+6
| | | | | | | | | | | | | This adds a human-readable description ("chrome") for the suspend delay that Chrome registers with the power manager. BUG=chromium-os:36980 TBR=marcheu@chromium.org Review URL: https://chromiumcodereview.appspot.com/12082103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179964 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ibus namespace.nona@chromium.org2013-01-3138-214/+135
| | | | | | | | | | | | | ibus namespace is temporary introduced for avoiding name collision with libibus. So it's time to remove ibus namespace because libibus is already gone. BUG=None TEST=try bots. Review URL: https://chromiumcodereview.appspot.com/11783053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179889 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 179842nona@chromium.org2013-01-313-123/+0
| | | | | | | | | | | | | | | | | > Introduce IBusBridge for ibus-less implementation. > > IBusBridge provides access of each ibus event handler. > > BUG=170671 > TEST=None > > > Review URL: https://chromiumcodereview.appspot.com/11956041 TBR=nona@chromium.org Review URL: https://codereview.chromium.org/12095082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179854 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce IBusBridge for ibus-less implementation.nona@chromium.org2013-01-313-0/+123
| | | | | | | | | | | | IBusBridge provides access of each ibus event handler. BUG=170671 TEST=None Review URL: https://chromiumcodereview.appspot.com/11956041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179842 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3637.0.0 for chromeos.chromeos-lkgm@google.com2013-01-311-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179821 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes a crash in ShillDeviceClient when the helper is NULL.gspencer@chromium.org2013-01-313-5/+23
| | | | | | | | | BUG=chromium:170541 Review URL: https://chromiumcodereview.appspot.com/12091076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179816 0039d316-1c4b-4281-b951-d872f2087c98
* Update display info and root windows only after outputs are configuredoshima@chromium.org2013-01-301-0/+2
| | | | | | | | | | BUG=169523 TEST=none Review URL: https://chromiumcodereview.appspot.com/12094051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179686 0039d316-1c4b-4281-b951-d872f2087c98
* Move SetCursorLocation bypass code.nona@chromium.org2013-01-304-3/+10
| | | | | | | | | | | | | | | | | | | | | | Current Chrome does not emit SetCursorLocation message to ibus-daemon because both candidate window and input context is in same process. It was achieved by injecting IBusClient into ui::InputMethodIBus, but we are now able to bypass them only in chromeos/ directory. With this refactoring, we can remove ui::internal::IBusClient, IBusChromeOSClientImpl and their injection code. The concept of this refactoring is... 1) ui::InputMethodIBus should communicate with only chromeos::IBus*. Do not bypass chromeos::IBus* even if bypassing ibus-daemon. 2) chrome/browser/chromeos/input_method should communicate with only chromeos::IBus* current code handles SetCursorLocation as special case, but I think it shouldn't consider where the event is come from. Such special logic should be in chromeos/. With this patch, we can remove IBusUiController. BUG=None TEST=Manually done on lumpy. Review URL: https://chromiumcodereview.appspot.com/11956008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179644 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce empty IBusDaemonController class.nona@chromium.org2013-01-303-0/+165
| | | | | | | | | | | | This class is substitue of IBusController. BUG=170671 TEST=None Review URL: https://chromiumcodereview.appspot.com/12041006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179570 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3630.0.0 for chromeos.chromeos-lkgm@google.com2013-01-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179561 0039d316-1c4b-4281-b951-d872f2087c98
* Minimize black screen during the boot with multi displaysoshima@chromium.org2013-01-302-7/+31
| | | | | | | | | | | | | | | * Do not try to install Background when a root window is added if a background isn't set yet. * Set the boot screen background color to the root window during the boot if there is external display. BUG=171050 TEST=manual Review URL: https://chromiumcodereview.appspot.com/12079002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179502 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Support delaying suspend asynchronously.derat@chromium.org2013-01-296-48/+145
| | | | | | | | | | | | | | | | | | This adds PowerManagerClient::GetSuspendReadinessCallback(), which PowerManagerClient::Observer implementations can call from within SuspendImminent(). The method returns a Closure that the observer can call after doing asynchronous work to report that it's ready for the system to be suspended. It also makes SessionManagerClient listen for ScreenIsLocked and ScreenIsUnlocked signals and removes an unused GetIsScreenLocked() method. BUG=171960,128798 Review URL: https://codereview.chromium.org/12095006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179350 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a separate ONC validation binary.pneubeck@chromium.org2013-01-284-0/+186
| | | | | | | | | BUG=chromium-os:37238 Review URL: https://chromiumcodereview.appspot.com/11885046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179142 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3613.0.0 for chromeos.chromeos-lkgm@google.com2013-01-281-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179111 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3605.0.0 for chromeos.chromeos-lkgm@google.com2013-01-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179058 0039d316-1c4b-4281-b951-d872f2087c98
* Defer configuring outputs instead of notifying changed eventoshima@chromium.org2013-01-262-57/+69
| | | | | | | | | | | | | This made 2.5 secs boot time improvement on stumpy + 2 displays. * moved notification code outside of x grab block. * add event trace BUG=163810 TEST=manual Review URL: https://chromiumcodereview.appspot.com/11953087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179043 0039d316-1c4b-4281-b951-d872f2087c98
* Add ResetModem method and call it once non_cellular activation is done.rkc@chromium.org2013-01-256-0/+56
| | | | | | | | | | | | Once non_cellular activation is done, the modem needs to be reset to get into the new activated state. R=stevenjb@chromium.org,benchan@chromium.org BUG=171535 Review URL: https://chromiumcodereview.appspot.com/12041029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178823 0039d316-1c4b-4281-b951-d872f2087c98
* Add a check for server and CA certificates in device policies to the ONC ↵pneubeck@chromium.org2013-01-258-103/+169
| | | | | | | | | | | | | | | validator. Checking for empty GUIDs and added a note to the ONC spec. Cleaned up the CertificateImporter on the way. TBR=stevenjb@chromium.org (small NetworkLibrary change reviewed by Greg, added a test file) BUG=170357 Review URL: https://chromiumcodereview.appspot.com/11970012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178820 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3600.0.0 for chromeos.chromeos-lkgm@google.com2013-01-251-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178780 0039d316-1c4b-4281-b951-d872f2087c98
* Implement support for monitor suspend.marcheu@chromium.org2013-01-254-2/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This speeds up idle resume by around 2.5 seconds. Previously, we would turn the panel off before idle suspend. Then we would suspend and resume. On resume, the kernel would restore the "off" state, and the Chrome monitor code would kick in to turn the panel on. This is a huge waste of time when each panel configuration step takes more than one second. Instead, just before suspending, we turn the backlight off and the panel on. On resume the kernel sets the panel state to on right away, and power_manager turns the backlight on. The Chrome monitor code still runs, but is a noop. This change needs this power_manager change to handle the backlight part: https://gerrit.chromium.org/gerrit/#/c/40971/ This landed as r178195, but was reverted in r178288 because it crashed in the VM tests; unregistering suspenddelay from the destructor was assuming that the object proxy was still around which wasn't the case. I fixed the destructor to not unregister the suspenddelay. BUG=chrome-os-partner:13364 TEST=By hand: reduce the idle suspend timeout, let the machine idle and TEST=suspend, press a key to resume and see how long it takes. The time TEST=it takes shrinks from ~4 seconds to ~1.5 second. TBR=sky@chromium.org Change-Id: I610995c12ed08624eb0bc91057d7c9bfa8002fbf Review URL: https://chromiumcodereview.appspot.com/12036092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178754 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a type check for properties with a shill_name in the ONC signature.pneubeck@chromium.org2013-01-249-34/+131
| | | | | | | | | | | | | | The translator is applied to input from Shill that is outside of Chrome. Thus we should guarantee validity of the resulting ONC. TBR=stevenjb@chromium.org (Added test files to chromeos only) BUG=171240 TEST=New unit test. Review URL: https://chromiumcodereview.appspot.com/12036008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178611 0039d316-1c4b-4281-b951-d872f2087c98