| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181456 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181253 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180931 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180635 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180355 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180300 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180252 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/12087091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180211 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180112 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179821 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179561 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179111 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179058 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178780 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|