summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus
Commit message (Collapse)AuthorAgeFilesLines
* dbus: revamp fd passing support for i/o restrictionssleffler@chromium.org2012-05-101-24/+65
| | | | | | | | | | | | | | Encapsulate file descriptor validity checking and status in the companion FileDescriptor class so callers can do descriptor checking in a context where i/o is allowed. Update the debug daemon client support to validate the pipe descriptors in a worker thread so it is not done on the UI thread. BUG=126142 TEST=new unit tests + collect trace data on chrome os and verify no assert is triggered Review URL: https://chromiumcodereview.appspot.com/10382021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136331 0039d316-1c4b-4281-b951-d872f2087c98
* Add logging message for when chrome gets LockScreen signal from power manager.flackr@chromium.org2012-05-071-0/+4
| | | | | | | | | BUG=126217 TEST=None Review URL: https://chromiumcodereview.appspot.com/10382039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135688 0039d316-1c4b-4281-b951-d872f2087c98
* Update CrosDisksClient to recognize the DVD device type.benchan@chromium.org2012-05-042-6/+5
| | | | | | | | | | | | | | | | cros-disks has added a DVD device type to the DeviceMediaType property returned by the org.chromium.CrosDisks.GetDeviceProperties DBus method. This CL updates CrosDisksClient to recognize the DVD device type. It also removes unused DEVICE_TYPE_* string constants from the file browser extension. BUG=chromium-os:30494 TEST=Build Chrome for Chrome OS Review URL: http://codereview.chromium.org/10381005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135449 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add support for dimming the screen.derat@chromium.org2012-04-302-1/+40
| | | | | | | | | | | | | | | This makes Chrome listen for messages from the power manager asking it to dim or undim the screen. We'll use this on desktop devices with external displays to dim the screen just before blanking it when the user is idle. BUG=125176 TEST=added, also did manual testing with powerd changes Review URL: http://codereview.chromium.org/10263011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134638 0039d316-1c4b-4281-b951-d872f2087c98
* gdata: Apply correct mount label when mounting archives in GDatahshi@google.com2012-04-303-4/+21
| | | | | | | | | | | | | | | | | Ben recently added support in cros-disks for an optional mount label. (https://gerrit.chromium.org/gerrit/#change,21171) Make use of this option to display a user-friendly file name for the mounted archive, instead of the actual file name of the cache blob "<resource_id>.<md5>.mounted". BUG=chromium-os:28678 TEST=Tested mounting archives (both local and on gdata). Review URL: http://codereview.chromium.org/10231010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134632 0039d316-1c4b-4281-b951-d872f2087c98
* Purge bogus debug assert.sleffler@chromium.org2012-04-271-1/+0
| | | | | | | | | | | | | | | This assert was wrong (meant to reference callback_ instead of callback) and in general is not dependable. BUG=none TEST=run debug build and note assert when collecting trace events Change-Id: I11f1476abcf23c6d675ed57773de6bce4ff2b686 Review URL: http://codereview.chromium.org/10170035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134393 0039d316-1c4b-4281-b951-d872f2087c98
* Add a suppression on ChromeOS for allowing wait.jam@chromium.org2012-04-271-0/+3
| | | | | | | | BUG=30124,125360 TBR=hashimoto Review URL: https://chromiumcodereview.appspot.com/10243007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134282 0039d316-1c4b-4281-b951-d872f2087c98
* gdata: Support opening zip file on Google Docs.hshi@google.com2012-04-253-2/+9
| | | | | | | | | | | | | | | | Pass the file extension in the 2nd argument to DiskMountManager::MountPath to indicate the archive format (e.g.: .zip, .rar, etc.) When mounting and unmounting archive files in GData cache, call GDataFileSystem::SetMountedState to set or clear the "mounted" state accordingly. BUG=chromium-os:28678 TEST=Verify that mounting/unmounting archive files on GData works correctly. Review URL: http://codereview.chromium.org/10083067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133987 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement CrosGetWifiAccessPoints without Libcroshashimoto@chromium.org2012-04-254-0/+47
| | | | | | | | | | BUG=chromium-os:16557 TEST=unit_tests --gtest_filter="CrosNetworkFunctionsTest.CrosGetWifiAccessPoints" Review URL: http://codereview.chromium.org/10202009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133902 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement ActivateCellularModem without Libcroshashimoto@chromium.org2012-04-247-0/+52
| | | | | | | | | BUG=chromium-os:16557 TEST=unit_tests --gtest_filter="CrosNetworkFunctions*" Review URL: https://chromiumcodereview.appspot.com/10134028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133631 0039d316-1c4b-4281-b951-d872f2087c98
* Rework chromeos::FlimflamDevice/ServiceClient with CallMethodWithErrorCallbackhashimoto@chromium.org2012-04-2412-49/+220
| | | | | | | | | | | | Modify FlimflamDeviceClient's PIN operation methods and Register to use CallMethodWithErrorCallback Modify FlimflamServiceClient::Connect to use CallMethodWithErrorCallback BUG=chromium-os:16557 TEST=chromeos_tests Review URL: https://chromiumcodereview.appspot.com/10170020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133624 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement SetNetworkIPConfigProperty and RemoveIPconfig without Libcroshashimoto@chromium.org2012-04-211-2/+2
| | | | | | | | | | BUG=chromium-os:16557 TEST=unit_tests --gtest_filter="CrosNetworkFunctions*" Review URL: http://codereview.chromium.org/10143007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133340 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement RequestCellularDataPlanUpdate without Libcroshashimoto@chromium.org2012-04-203-4/+6
| | | | | | | | | | | | Reimplement RequestCellularDataPlanUpdate Add missing argument of CashewClient::RequestDataPlansUpdate BUG=chromium-os:16557 TEST=unit_tests --gtest_filter="CrosNetworkFunctions*.CrosRequestCellularDataPlanUpdate" Review URL: https://chromiumcodereview.appspot.com/10124007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133160 0039d316-1c4b-4281-b951-d872f2087c98
* Add ↵hashimoto@chromium.org2012-04-206-0/+137
| | | | | | | | | | | | chromeos::FlimflamDeviceClient::CallGetPropertiesAndBlock/CallAddIPConfigAndBlock BUG=chromium-os:16557 TEST=chromeos_unittests --gtest_filter="FlimflamDeviceClientTest.*" Review URL: http://codereview.chromium.org/10078007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133150 0039d316-1c4b-4281-b951-d872f2087c98
* Add ↵hashimoto@chromium.org2012-04-206-53/+369
| | | | | | | | | | | | | | | | chromeos::FlimflamIPConfigClient::CallGetPropertiesAndBlock/CallRemoveAndBlock Fix FlimflamIPConfigClient to handle multiple IPConfigs Add chromeos::FlimflamIPConfigClient::CallGetPropertiesAndBlock Add chromeos::FlimflamIPConfigClient::CallRemoveAndBlock Add FlimflamIPConfigClientTest BUG=chromium-os:16557 TEST=chromeos_unittests --gtest_filter="FlimflamIPConfigClientTest.*" Review URL: https://chromiumcodereview.appspot.com/10078003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133146 0039d316-1c4b-4281-b951-d872f2087c98
* Extract the averaged time values from incomming protobufrharrison@chromium.org2012-04-193-0/+14
| | | | | | | | | | | | | This CL adds in extracting the averaged battery time values from the incomming protobuf and storing it in an instance of PowerSupplyStatus. BUG=chromium-os:23647 TEST=Confirmed that build still worked. Review URL: http://codereview.chromium.org/10108028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133080 0039d316-1c4b-4281-b951-d872f2087c98
* Add GsmSMSClienthashimoto@chromium.org2012-04-199-0/+767
| | | | | | | | | | BUG=chromium-os:16557 TEST=chromeos_unittests --gtest_filter="GsmSMSClientTest.*" Review URL: http://codereview.chromium.org/10083041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132966 0039d316-1c4b-4281-b951-d872f2087c98
* Add chromeos::FlimflamNetworkClient::CallGetPropertiesAndBlockhashimoto@chromium.org2012-04-1913-33/+206
| | | | | | | | | | | | | Add chromeos::FlimflamNetworkClient::CallGetPropertiesAndBlock Add chromeos::FlimflamClientHelper::CallDictionaryValueMethodAndBlock Fix FlimflamNetworkClient to handle multiple networks BUG=chromium-os:16557 TEST=chromeos_unittests --gtest_filter="FlimflamNetworkClientTest.*" Review URL: https://chromiumcodereview.appspot.com/9969195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132937 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in FlimflamProfileClientTesthashimoto@chromium.org2012-04-181-3/+3
| | | | | | | | | | BUG=None TEST=chromeos_unittests --gtest_filter=FlimflamProfileClientTest.PropertyChanged Review URL: http://codereview.chromium.org/10105022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132757 0039d316-1c4b-4281-b951-d872f2087c98
* Add FlimflamServiceClienthashimoto@chromium.org2012-04-189-0/+625
| | | | | | | | | | BUG=chromium-os:16557 TEST=chromeos_unittests --gtest_filter="FlimflamServiceClientTest.*" Review URL: http://codereview.chromium.org/9956164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132756 0039d316-1c4b-4281-b951-d872f2087c98
* Pass correct initial/user values when requesting power statusstevenjb@chromium.org2012-04-181-1/+2
| | | | | | | | | | BUG=121982 TEST=Run chrome/ash on linux. Battery indicator should not be draining. Click on status area. Battery should start draining. Review URL: http://codereview.chromium.org/9983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132739 0039d316-1c4b-4281-b951-d872f2087c98
* Add FlimflamDeviceClienthashimoto@chromium.org2012-04-179-0/+812
| | | | | | | | | | BUG=chromium-os:16557 TEST=chromeos_unittests --gtest_filter="FlimflamDeviceClientTest.*" Review URL: http://codereview.chromium.org/10095004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132538 0039d316-1c4b-4281-b951-d872f2087c98
* Add FlimflamProfileClientTesthashimoto@chromium.org2012-04-175-9/+183
| | | | | | | | | BUG=chromium-os:16557 TEST=chromeos_unittests --gtest_filter="FlimflamProfileClientTest.*" Review URL: https://chromiumcodereview.appspot.com/10038011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132513 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement Libcros fucntions using FlimflamProfileClienthashimoto@chromium.org2012-04-173-49/+81
| | | | | | | | | | | | | | | | | Change FlimflamProfileClient's interface to deal with multiple profile objects Change FlimflamProfileClient's interface to send an entry's path as a string, not an ObjectPath Add non-Libcros implementations of CrosDeleteServiceFromProfile, CrosRequestNetworkProfileProperties and CrosRequestNetworkProfileEntryProperties Add EnableNonLibcrosNetworkFunctions Add --enable-non-libcros-network-functions commandline option Rename existing CrosNetworkFunctionsTest to CrosNetworkFunctionsLibcrosTest Add new CrosNetworkFunctionsTest which tests the non Libcros implementation BUG=chromium-os:16557 TEST=unit_tests --gtest_filter="CrosNetworkFunctions*" Review URL: https://chromiumcodereview.appspot.com/9958045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132502 0039d316-1c4b-4281-b951-d872f2087c98
* s/spdtool/sdptool/ in a commentbryeung@chromium.org2012-04-161-1/+1
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9972014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132438 0039d316-1c4b-4281-b951-d872f2087c98
* Added functionality to chrome://net-internals/#chromeos page that userygorshenin@chromium.org2012-04-133-0/+42
| | | | | | | | | | | | is able to change network debugging mode without going to crosh. BUG=chromium-os:25701 TEST=Manual testing on Alex device. Review URL: http://codereview.chromium.org/10024056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132163 0039d316-1c4b-4281-b951-d872f2087c98
* [UMA] Use proper C++ objects to serialize tracked_objects across process ↵isherman@chromium.org2012-04-136-0/+6
| | | | | | | | | | | | | | | boundaries. See https://chromiumcodereview.appspot.com/9702014/ for the original code review. Uploading to a new issue due to an AppEngine error... BUG=103480 TEST=none (refactoring, no functional change expected) TBR=jam@chromium.org,jar@chromium.org,eroman@chromium.org,jhawkins@chromium.org,ajwong@chromium.org Review URL: http://codereview.chromium.org/10077001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132109 0039d316-1c4b-4281-b951-d872f2087c98
* Added "Store Debug Logs" functionality. Logs from /var/log are gzippedygorshenin@chromium.org2012-04-123-0/+43
| | | | | | | | | | | | | | and stored on the fileshelf. BUG=chromium-os:25700 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131963 Review URL: http://codereview.chromium.org/9965072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131988 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 131963 - Added "Store Debug Logs" functionality. Logs from /var/log ↵ygorshenin@chromium.org2012-04-123-42/+0
| | | | | | | | | | | | | | | | | are gzipped and stored on the fileshelf. BUG=chromium-os:25700 TEST= Review URL: http://codereview.chromium.org/9965072 TBR=ygorshenin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10069009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131965 0039d316-1c4b-4281-b951-d872f2087c98
* Added "Store Debug Logs" functionality. Logs from /var/log are gzippedygorshenin@chromium.org2012-04-123-0/+42
| | | | | | | | | | | | and stored on the fileshelf. BUG=chromium-os:25700 TEST= Review URL: http://codereview.chromium.org/9965072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131963 0039d316-1c4b-4281-b951-d872f2087c98
* Add chromeos::FlimflamManagerClienthashimoto@chromium.org2012-04-1113-4/+779
| | | | | | | | | | | | | Add chromeos::FlimflamManagerClient Add FlimflamManagerClientTest Add FlimflamClientHelper::AppendDataAsVariant BUG=chromium-os:16557 TEST=unit_tests --gtest_filter="FlimflamManagerClientTest.*" Review URL: https://chromiumcodereview.appspot.com/9950001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131731 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Convert D-Bus client classes' callback arguments to const referencehashimoto@chromium.org2012-04-1124-167/+192
| | | | | | | | | BUG=chromium-os:28578 TEST=build success Review URL: https://chromiumcodereview.appspot.com/10024054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131697 0039d316-1c4b-4281-b951-d872f2087c98
* Adding extraction of is_calculating_battery_time field from protobufsadrul@chromium.org2012-04-063-2/+9
| | | | | | | | | | | | | This CL adds in extracting the value from the incomming protobuf and storing it in an instance of PowerSupplyStatus. BUG=chromium-os:28881 TEST=Confirmed that build still worked. Review URL: https://chromiumcodereview.appspot.com/9977005 Patch from Ryan Harrison <rharrison@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131166 0039d316-1c4b-4281-b951-d872f2087c98
* Move files inside chrome/browser/chromeos/dbus to chromeos/dbushashimoto@chromium.org2012-04-0691-0/+11373
| | | | | | | | | | | | | | | | Move files in chrome/browser/chromeos/dbus/ to chromeos/dbus Add chromeos/dbus/DEPS Add chromeos.gyp:chromeos_test_support and chromeos.gyp:chromeos_unittests Add CHROMEOS_EXPORT to classes Move power related proto targets to chromeos.gyp Rewrite and sort #includes BUG=119583 TEST=component chromeos build success, checkdeps success Review URL: https://chromiumcodereview.appspot.com/9838085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131065 0039d316-1c4b-4281-b951-d872f2087c98
* Copy ash/system/power/power_supply_status.* to src/chromeoshashimoto@chromium.org2012-04-052-0/+77
Copy power_supply_status.* Move #ifdef trick from power_manager_client.h to power_supply_status.h Add chromeos.gyp Add dependency from ash to chromeos when chromeos==1 BUG=119583 TEST=build success, checkdeps success Review URL: https://chromiumcodereview.appspot.com/9837075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130796 0039d316-1c4b-4281-b951-d872f2087c98