summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/system_access.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove hwid from machine statistics because it's duplicate of hardware_classdpolukhin@chromium.org2011-05-251-5/+0
| | | | | | | | | BUG=chromium-os:15579 TEST=none Review URL: http://codereview.chromium.org/7008010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86599 0039d316-1c4b-4281-b951-d872f2087c98
* Use 'crossystem hwid' to obtain the HWID (hardware_class).petkov@chromium.org2011-05-201-1/+1
| | | | | | | | | | | | | This is more portable than using the hardware_class script and will work on ARM. Also, this is the last user of the hardware_class script so it can be removed from the system. BUG=chromium-os:15259 TEST=manually inspected logs making sure the right HWID is returned Review URL: http://codereview.chromium.org/7051013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86048 0039d316-1c4b-4281-b951-d872f2087c98
* HWID and VPD values should be accessible via SystemAccess::GetMachineStatisticdpolukhin@chromium.org2011-04-261-109/+70
| | | | | | | | | BUG=chromium-os:13019 TEST=NameValuePairsParser.* StartupCustomizationDocumentTest.* Review URL: http://codereview.chromium.org/6899021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82987 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of libcros layer for system access code.satorux@chromium.org2011-04-151-88/+119
| | | | | | | | | | | | | | - Remove cros/system_library* as we no longer need this libcros layer. - Add SystemAccess class based on SystemLibraryImpl. - Replace popen() with GetAppOutput() in system_access.cc - Change all call sites to use SystemAccess instead of SystemLibrary TEST=confirmed timezone switching worked. also added --vmodule=system_access=1 to /sbin/session_manager_setup.sh to observe that the machine info was obtained properly in /var/log/chrome/chrome* (there wasn't an handy way to test the machine info code). BUG=chromium-os:13351 Review URL: http://codereview.chromium.org/6804006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81705 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at moving system access code from libcros to Chrome.satorux@chromium.org2011-04-061-0/+230
system_access* are mostly identical copies of chromeos_system*, except: - strdup/free is used instead of NewStringCopy/delete, as NewStringCopy doesn't exist in Chrome tree. - functions reside in chromeos::system_access namespace to avoid conflicts with the existing functions in libcros. In the follow-up patch, we'll remove cros/system_library, as the libcros layer should be unnecessary after the migration. We'll also remove chromeos_system* from libcros in separate patches. BUG=chromium-os:13351 TEST=confirmed timezone switching worked. also added --vmodule=system_library=1 to /sbin/session_manager_setup.sh to observe that the machine info was obtained properly in /var/log/chrome/chrome* (there wasn't an handy way to test the machine info code). Review URL: http://codereview.chromium.org/6760024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80588 0039d316-1c4b-4281-b951-d872f2087c98