summaryrefslogtreecommitdiffstats
path: root/chromeos
Commit message (Collapse)AuthorAgeFilesLines
* [Cleanup] Remove StringPrintf from global namespacegroby@chromium.org2013-03-186-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | use of StringPrintf now requires prefixing with base:: or a per-scope using directive TBR'd: abodenha: chrome/service brettw: content, third_party, webkit darin: base, chrome/browser, chrome/renderer dgarret: courgette enne: cc fischmann: media gbillock: sql joi: google_apis,components rsleevi: net, crypto sky: chrome/test thestig: printing, chrome/common, tsepez: ipc wez: remoting yfriedman: testing/android NOTRY=true R=brettw@chromium.org TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/12767006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 188331 "Implement a policy to autologin a public account."jeremya@chromium.org2013-03-183-227/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to flaky tests: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40DEPS%20CrOS%20-%20chromium.org&testType=browser_tests&tests=ExistingUserControllerPublicSessionTest > Implement a policy to autologin a public account. > > This introduces a policy to automatically login a public account on > Chrome OS after a specified period of time has elapsed at the login > screen. There are two new policy settings: > "DeviceLocalAccountAutoLoginUsername", which determines which public > account will be logged in, and "DeviceLocalAccountAutoLoginTimerMillis", > which specifies the amount of time that should elapse before autologin > takes place. > > The autologin timer is started in ExistingUserController when either the > sign-in screen UI is finished loading or the aforementioned policy > settings are changed. > > BUG=152933 > > > Review URL: https://chromiumcodereview.appspot.com/12218078 TBR=dconnelly@chromium.org Review URL: https://codereview.chromium.org/12763004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188690 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash around candidate window layout.nona@chromium.org2013-03-181-1/+5
| | | | | | | | | | | | | Original ibus spec has third orientation IBUS_ORIENTATION_SYSTEM but it was not supported in Chrome OS. Thus do not cast from integer to enum. BUG=181342 TEST=Manually done TBR=satorux Review URL: https://chromiumcodereview.appspot.com/12520020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188674 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeOS: IBusControllerTest.TestCreate needs to call ↵thestig@chromium.org2013-03-152-5/+5
| | | | | | | | | | IBusDaemonController::Shutdown(). TBR=satorux1 for trivial cleanup in chromeos/ Review URL: https://chromiumcodereview.appspot.com/12716016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188354 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a policy to autologin a public account.dconnelly@chromium.org2013-03-153-0/+227
| | | | | | | | | | | | | | | | | | | | | This introduces a policy to automatically login a public account on Chrome OS after a specified period of time has elapsed at the login screen. There are two new policy settings: "DeviceLocalAccountAutoLoginUsername", which determines which public account will be logged in, and "DeviceLocalAccountAutoLoginTimerMillis", which specifies the amount of time that should elapse before autologin takes place. The autologin timer is started in ExistingUserController when either the sign-in screen UI is finished loading or the aforementioned policy settings are changed. BUG=152933 Review URL: https://chromiumcodereview.appspot.com/12218078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188331 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium style checker cleanuprsleevi@chromium.org2013-03-151-2/+4
| | | | | | | | | | | | Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 TBR=ben, brettw, jamesr, joi, satorux, piman, wez Review URL: https://chromiumcodereview.appspot.com/12813004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188311 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3840.0.0 for chromeos.chromeos-lkgm@google.com2013-03-151-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188270 0039d316-1c4b-4281-b951-d872f2087c98
* Replace NetworkMessageObserver with Ash code using NetworkStateHandlerstevenjb@chromium.org2013-03-152-7/+25
| | | | | | | | | | | | | Note: Depends on https://chromiumcodereview.appspot.com/12726002/ BUG=164236 For ash.gyp and shelf_layout_manager_unittest: TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/12440012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188235 0039d316-1c4b-4281-b951-d872f2087c98
* This adds the setProperties and getState functions to the networking APIgspencer@chromium.org2013-03-142-2/+40
| | | | | | | | | | | | | | | for JavaScript. (TBR'ing kalman because it's a private API, and because I may need to merge it to R26) TBR=kalman@chromium.org BUG=chromium:180633 TEST=ran new browser tests. Review URL: https://chromiumcodereview.appspot.com/12541007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188199 0039d316-1c4b-4281-b951-d872f2087c98
* Add callback to DiskMountManager::UnmountPathtbarzic@chromium.org2013-03-145-44/+62
| | | | | | | | | | | | | The callback makes it easier to handle failures (in comparison to observing mount manager for MountEvents). TEST=existing BUG=tested formatting still works Review URL: https://chromiumcodereview.appspot.com/12537016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188161 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up system clock update dbus signal to chrome and ash tray ui. cros will ↵jennyz@chromium.org2013-03-1411-1/+242
| | | | | | | | | | | send tlsdate.TimeUpdated dbus signal when system clock is updated from server, chrome will listen to the signal and update ash tray ui for time. BUG=177970 Review URL: https://chromiumcodereview.appspot.com/12564007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188070 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3834.0.0 for chromeos.chromeos-lkgm@google.com2013-03-141-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188006 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3830.0.0 for chromeos.chromeos-lkgm@google.com2013-03-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187802 0039d316-1c4b-4281-b951-d872f2087c98
* Add cellular activation over non-cellular network property to NetworkStategauravsh@chromium.org2013-03-132-0/+9
| | | | | | | | | BUG=chromium:188753 Review URL: https://chromiumcodereview.appspot.com/12596008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187800 0039d316-1c4b-4281-b951-d872f2087c98
* Fix empty candidate window for IME Extension API.nona@chromium.org2013-03-121-0/+2
| | | | | | | | | | | | | | | | | | The problem is that some engines are never deactivated when the engine is switched. The original IBus spec assumes each engine instance will be created on CreateEngine method and destroyed on Destroy function. However in the case of Chrome, we switch the engine instance at the next CreateEngine function and no-op for Destroy function. This is ideally okay because there is only one engine instance. However ibus-daemon sends "Disable" message *AFTER* CreateEngine function, so Extension IME missed it, this is the root cause. I changed to calling "Disable" function at the instance switching and it fixes this problem. BUG=182916 TEST=Manually checked on lumpy. Review URL: https://chromiumcodereview.appspot.com/12598004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187680 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/browser/chromeos/process_proxy to chromeosphajdan.jr@chromium.org2013-03-1210-0/+1229
| | | | | | | | BUG=180711 Review URL: https://codereview.chromium.org/12433023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187641 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3824.0.0 for chromeos.chromeos-lkgm@google.com2013-03-121-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187531 0039d316-1c4b-4281-b951-d872f2087c98
* Remove blocking_method_caller.h dependency in shill_client_helper.hstevenjb@chromium.org2013-03-112-5/+8
| | | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/12726002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187324 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IBusDaemonControllerDaemonlessImpl.nona@chromium.org2013-03-111-10/+42
| | | | | | | | | | | | | With this patch we can use IME extension API even in Linux Desktop with chromeos=1 configuration. BUG=170671 TEST=try bots Review URL: https://chromiumcodereview.appspot.com/12481012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187268 0039d316-1c4b-4281-b951-d872f2087c98
* Implement some DaemonlessImpl.nona@chromium.org2013-03-113-8/+34
| | | | | | | | | | | | | | | | This patch implement IBusClientDaemonlessImpl, IBusEngineFactoryServiceDaemonlessImpl and IBusPanelServiceDaemonlessImpl. It is safe to implement partially because any IME related stuff is not enabled without IBusDaemonController::OnConnected. BUG=170671 TEST=None Review URL: https://chromiumcodereview.appspot.com/12524003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187250 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3821.0.0 for chromeos.chromeos-lkgm@google.com2013-03-111-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187242 0039d316-1c4b-4281-b951-d872f2087c98
* Added default expectation for MockDBusThreadManager::GetIBusConfigClient().joaodasilva@chromium.org2013-03-101-0/+2
| | | | | | | | | | | | This prevents a lot of gmock warnings on some browser_tests. TBR=satorux@chromium.org BUG=None Review URL: https://chromiumcodereview.appspot.com/12577004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187204 0039d316-1c4b-4281-b951-d872f2087c98
* Changes the networkingPrivate Extension API to usepneubeck@chromium.org2013-03-105-11/+56
| | | | | | | | | | | | | the NetworkStateHandler and ManagedNetworkConfigurationHandler instead of talking to the Shill*Client classes directly. This removes nearly all dependencies to Shill (except the VerifyAndSign functions) from the API implementation. BUG=147614, 157696 Review URL: https://chromiumcodereview.appspot.com/12319145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187202 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3818.0.0 for chromeos.chromeos-lkgm@google.com2013-03-101-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187200 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag to switch Chromium OS Bluetooth backendkeybuk@chromium.org2013-03-082-0/+4
| | | | | | | | | | | | | | This flag is passed by the OS session manager when it detects the newer Bluetooth backend is being used, and selects the alternate implementation of BluetoothAdapter. BUG=chromium-os:38832 TEST=started chrome with/without flag Review URL: https://chromiumcodereview.appspot.com/12660002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187080 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Debug restriction on Bluetooth log messageskeybuk@chromium.org2013-03-087-26/+17
| | | | | | | | | | | | We frequently need to access these in real builds after all. BUG=none TEST=chrome --vmodule=*bluetooth*=3 Review URL: https://chromiumcodereview.appspot.com/12379062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187064 0039d316-1c4b-4281-b951-d872f2087c98
* Enable ash new network status area by defaultstevenjb@chromium.org2013-03-082-0/+8
| | | | | | | | | | BUG=179504 For ash_switches: TBR=sky@chromium.org Review URL: https://codereview.chromium.org/12548014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186992 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3809.0.0 for chromeos.chromeos-lkgm@google.com2013-03-081-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186918 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos and media: Allow building chromeos without X.sadrul@chromium.org2013-03-071-6/+16
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/12476005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186743 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IBusEngineServiceDaemonlessImplnona@chromium.org2013-03-071-10/+37
| | | | | | | | | | | | | It is safe to implement partially because any IME related stuff is not enabled without IBusDaemonController::OnConnected. BUG=170671 TEST=None Review URL: https://chromiumcodereview.appspot.com/12513003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186720 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IBusInputContextClientDaemonlessImpl.nona@chromium.org2013-03-071-19/+42
| | | | | | | | | | | | | It is safe to implement partially because any IME related stuff is not enabled without IBusDaemonController::OnConnected. BUG=170671 TEST=None Review URL: https://chromiumcodereview.appspot.com/12463010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186691 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3804.0.0 for chromeos.chromeos-lkgm@google.com2013-03-071-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186649 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Fix malfunctioning CrosDisksClientStubImpl::Unmounthashimoto@chromium.org2013-03-071-18/+15
| | | | | | | | | | | | Unmount receives the mounted path, not the source path. BUG=178987 TEST=Mount/Unmount a zip file in Files.app Review URL: https://chromiumcodereview.appspot.com/12527007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186644 0039d316-1c4b-4281-b951-d872f2087c98
* Add CreateEngine related functions into IBusBridgenona@chromium.org2013-03-072-4/+49
| | | | | | | | | | | | | It turned out that engine creation should be handled in IBusBridge because create function and its caller is not directly dependent. BUG=170671 TEST=None Review URL: https://chromiumcodereview.appspot.com/12527005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186641 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add DisplayPowerServiceProvider.derat@chromium.org2013-03-074-94/+94
| | | | | | | | | | | | | | | | | | | | | This makes Chrome export a SetDisplayPower D-Bus method call for the power manager. It also reworks OutputConfigurator to cache the most-recently-requested power state and use it for future display mode requests. Finally, it works around a related bug where multiple mouse events may be generated when the displays are reconfigured, which would result in a report of user activity that could abort suspending. BUG=chromium-os:39289,180348,chrome-os-partner:12662 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/12391004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186625 0039d316-1c4b-4281-b951-d872f2087c98
* src/: Update the remaining include paths of string_split.h to its new location.tfarina@chromium.org2013-03-061-1/+1
| | | | | | | | | | BUG=175186 TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/12473004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186462 0039d316-1c4b-4281-b951-d872f2087c98
* Update NetworkStateListDetailedView for VPNstevenjb@chromium.org2013-03-066-12/+83
| | | | | | | | BUG=179605 Review URL: https://codereview.chromium.org/12387065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186457 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3799.0.0 for chromeos.chromeos-lkgm@google.com2013-03-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186375 0039d316-1c4b-4281-b951-d872f2087c98
* Matching modes for mirroring should preserve interlacing.ynovikov@chromium.org2013-03-051-2/+7
| | | | | | | | | | | | | | | | | | Add a condition when searching for modes for mirroring - both modes must either be interlaced or progressive scan. Also, as internal panels don't support interlacing, do not attempt to panel fit interlaced modes on them. BUG=179207 TEST=Manually disabled modes, making interlaced one the preferred, then verified that this mode is not picked for mirroring, but the next one. Steps in the bug should also work, but I don't have the necessary hardware. Review URL: https://chromiumcodereview.appspot.com/12388090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186231 0039d316-1c4b-4281-b951-d872f2087c98
* Adding wildcard chromeos/test/data/OWNERS.pneubeck@chromium.org2013-03-051-0/+1
| | | | | | | | | BUG=NONE Review URL: https://chromiumcodereview.appspot.com/12390054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186160 0039d316-1c4b-4281-b951-d872f2087c98
* Moves the mapping between Shill's and ONC's field names out of the ONC ↵pneubeck@chromium.org2013-03-0516-372/+625
| | | | | | | | | | | | | | | | | | | | signature into separate tables. Adds a base_signature pointer to ONC value signatures and uses that to define an derived signatures with additional state fields. The advantage of such derived ONC signatures is that we can have specialized validation that don't influence each other: - ONC with readonly state from Shill - ONC from UI (like the JS extension API) Both will be derived from standard ONC. This commit adds the first of these two specializations: ONC with Shill's state information. TBR=stevenjb@chromium.org (for test/data changes) BUG=147614, 157696 Review URL: https://chromiumcodereview.appspot.com/12390017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186156 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3795.0.0 for chromeos.chromeos-lkgm@google.com2013-03-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186135 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Implement fake archive mount functionality to CrosDisksClienthashimoto@chromium.org2013-03-051-7/+152
| | | | | | | | | | | Mimic archive mount/unmount by creating empty directory under /media/archive. Implement stub for other methods at the same time. BUG=178987 Review URL: https://codereview.chromium.org/12380013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186093 0039d316-1c4b-4281-b951-d872f2087c98
* Convert existing NetworkLibrary consumers in browser/chromeos/login/* to use ↵gauravsh@chromium.org2013-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | state helper Convert consumers of network library that probe for connectivity state to use the state helper instead. This is in preparation to eventually deprecate and get rid of NetworkLibrary. There should be no functional change - NetworkLibrary methods are still used by default. TBR=sky@chromium.org for chrome/chrome_*.gyp changes BUG=chromium:167233 TEST=existing unit tests, tested on device Review URL: https://chromiumcodereview.appspot.com/12374026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186045 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RemovableDeviceNotifications=>StorageMonitortommycli@chromium.org2013-03-041-2/+2
| | | | | | | | | | | Renamed classes and updated some variable names. BUG=NONE TBR=thestig@chromium.org,davemoore@chromium.org Review URL: https://chromiumcodereview.appspot.com/12382005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186030 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Use /tmp as mount root directory for stubs.hashimoto@chromium.org2013-03-042-0/+26
| | | | | | | | | | | | | Move RegisterFileSystem calls for default system mount points to CrosMountProvider. Add CrosDisksClient::GetArchiveMountRootDirectory/GetDiskMountRootDirectory. BUG=178987 TEST=git cl try Review URL: https://chromiumcodereview.appspot.com/12397002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185898 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3789.0.0 for chromeos.chromeos-lkgm@google.com2013-03-041-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185849 0039d316-1c4b-4281-b951-d872f2087c98
* Automated Commit: Committing new LKGM version 3786.0.0 for chromeos.chromeos-lkgm@google.com2013-03-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185799 0039d316-1c4b-4281-b951-d872f2087c98
* Rename VerifyAndSign* functions to VerifyAndEncrypt*gspencer@chromium.org2013-03-026-18/+18
| | | | | | | | | | | | | | | | since that is a more accurate description (and it's what the Shill APIs are now named). (TBR'ing OWNERS because this is a mechanical name change only) TBR=stevenjb@chromium.org,kalman@chromium.org BUG=chromium-os:38993,chromium:179193 TEST=built chrome Review URL: https://chromiumcodereview.appspot.com/12381026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185775 0039d316-1c4b-4281-b951-d872f2087c98
* Fix status area for NetworkStateHandlerstevenjb@chromium.org2013-03-021-1/+1
| | | | | | | | | | | | NetworkConfigurationHandler is not enabled with NetworkStatehandler so check flag before using. Includes some cleanup code. BUG=179504 Review URL: https://chromiumcodereview.appspot.com/12378052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185727 0039d316-1c4b-4281-b951-d872f2087c98