summaryrefslogtreecommitdiffstats
path: root/base/sys_info_chromeos.cc
Commit message (Collapse)AuthorAgeFilesLines
* Revert 88545 - Revert 88470 (broke ServiceProcessStateTest.ForceShutdown on ↵rkc@chromium.org2011-06-091-4/+7
| | | | | | | | | | | | | | | | | | CrOS) - Fix for system version unit tests in cros. Unit test the revert was to fix is still failing after the revert. Also confirmed that the failing test has nothing to do with this CL. BUG=chromium-os:15789 TEST=Ran try servers to make sure the unit test is not failing anymore, plus viewed all the screens and took screenshots. Screen shots of all effected screens are attached to the cros bug TBR=rkc@chromium.org TBR=rkc@chromium.org Review URL: http://codereview.chromium.org/7044086 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/7044097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88595 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88470 (broke ServiceProcessStateTest.ForceShutdown on CrOS) - Fix for ↵thakis@chromium.org2011-06-091-7/+4
| | | | | | | | | | | | | system version unit tests in cros. BUG=chromium-os:15789 TEST=Ran try servers to make sure the unit test is not failing anymore, plus viewed all the screens and took screenshots. Screen shots of all effected screens are attached to the cros bug TBR=rkc@chromium.org TBR=rkc@chromium.org Review URL: http://codereview.chromium.org/7044086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88545 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for system version unit tests in cros.rkc@chromium.org2011-06-091-4/+7
| | | | | | | | BUG=chromium-os:15789 TEST=Ran try servers to make sure the unit test is not failing anymore, plus viewed all the screens and took screenshots. Screen shots of all effected screens are attached to the cros bug TBR=rkc@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88470 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88440 - Change Chrome OS version numbers to Platform versions.rkc@chromium.org2011-06-091-7/+4
| | | | | | | | | | | | | | Changed the version parsing for Chrome OS if a special function has been called to strip out the leading 0. and major version number. Additionally changed about chrome os, about chrome os -> more info, about:version and the login screen to reflect version numbers more in tune with a 'platform' than OS. BUG=chromium-os:15789 TEST=Viewed all the screens and took screenshots. Screen shots of all effected screens are attached to the cros bug Review URL: http://codereview.chromium.org/7108019 TBR=rkc@chromium.org Review URL: http://codereview.chromium.org/7104076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88451 0039d316-1c4b-4281-b951-d872f2087c98
* Change Chrome OS version numbers to Platform versions.rkc@chromium.org2011-06-081-4/+7
| | | | | | | | | | | Changed the version parsing for Chrome OS if a special function has been called to strip out the leading 0. and major version number. Additionally changed about chrome os, about chrome os -> more info, about:version and the login screen to reflect version numbers more in tune with a 'platform' than OS. BUG=chromium-os:15789 TEST=Viewed all the screens and took screenshots. Screen shots of all effected screens are attached to the cros bug Review URL: http://codereview.chromium.org/7108019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88440 0039d316-1c4b-4281-b951-d872f2087c98
* Make the windows_version.h functions threadsafe by using a singleton. Add ↵pkasting@chromium.org2011-04-071-6/+6
| | | | | | | | | | | | accessors to the singleton for more values that various code wants, then convert almost everyone using OSVERSIONINFO or SYSTEM_INFO structs to calling these accessors. Declare an AtExitManager in the out-of-process test runner since it didn't have one and that breaks singleton-using code in the test executable (as opposed to in chrome.dll). A few other minor cleanups along the way (binding of "*", shorter code, etc.). Because I ran into problems with it while modifying gcapi.cc, I cleaned up our usage of strsafe.h a bit, so that files that don't need it don't include it and files that do use STRSAFE_NO_DEPRECATE instead of a modified #include order. BUG=none TEST=none Review URL: http://codereview.chromium.org/6816027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80851 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80819 due to failed testsmmenke@chromium.org2011-04-071-6/+6
| | | | | | | TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/6816024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80824 0039d316-1c4b-4281-b951-d872f2087c98
* Make the windows_version.h functions threadsafe by using a singleton. Add ↵pkasting@chromium.org2011-04-071-6/+6
| | | | | | | | | | | | accessors to the singleton for more values that various code wants, then convert almost everyone using OSVERSIONINFO or SYSTEM_INFO structs to calling these accessors. Declare an AtExitManager in the out-of-process test runner since it didn't have one and that breaks singleton-using code in the test executable (as opposed to in chrome.dll). A few other minor cleanups along the way (binding of "*", shorter code, etc.). Because I ran into problems with it while modifying gcapi.cc, I cleaned up our usage of strsafe.h a bit, so that files that don't need it don't include it and files that do use STRSAFE_NO_DEPRECATE instead of a modified #include order. BUG=none TEST=none Review URL: http://codereview.chromium.org/6713107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80819 0039d316-1c4b-4281-b951-d872f2087c98
* Read ChromeOS version numbers from file before sandboxing and cache them.dgozman@chromium.org2011-04-051-19/+54
| | | | | | | | BUG=chromiumos-os:11573 TEST=Check that user agent in javascript contains correct CrOS version. Review URL: http://codereview.chromium.org/6771012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80438 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/thread.h to base/threading, fix up callers to use the new location.brettw@chromium.org2011-01-011-1/+1
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6028009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70345 0039d316-1c4b-4281-b951-d872f2087c98
* Thread IO safety: annotate file_util, and block IO thread from doing IOevan@chromium.org2010-10-231-0/+7
| | | | | | | | | | | | | | | - Mark functions in file_util_posix as requiring permission to perform disk actions. - Mark the IO thread as disallowed from performing disk actions. - Temporarily work around the protections in places where we currently have bugs. BUG=59847,59849,60207,60211,60394 TEST=no dchecks in debug builds Review URL: http://codereview.chromium.org/3872002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63636 0039d316-1c4b-4281-b951-d872f2087c98
* Update code that previously constructed strings from string iterators only ↵erikwright@chromium.org2010-10-221-3/+9
| | | | | | | | | | to use StringToInt. These usages now pass the iterators directly to the new StringToInt overloads. BUG=None TEST=All Review URL: http://codereview.chromium.org/3968001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63515 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more callers of the integer/string functions to usingbrettw@chromium.org2010-07-311-4/+4
| | | | | | | | | | string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test failure: SysInfoTest.GoogleChromeOSVersionNumbersFirstcmasone@google.com2009-12-091-3/+1
| | | | | | Review URL: http://codereview.chromium.org/467053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34129 0039d316-1c4b-4281-b951-d872f2087c98
* We want GOOGLE_CHROME_BUILDs on Chrome OS to get the appropriate OS version ↵cmasone@google.com2009-10-191-1/+1
| | | | | | | | info. Review URL: http://codereview.chromium.org/294003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29408 0039d316-1c4b-4281-b951-d872f2087c98
* Creating a unique user-agent string for ChromeOS builds, so that metrics can ↵evan@chromium.org2009-07-221-0/+69
be aggregated separately from standard Chrome on Linux Review URL: http://codereview.chromium.org/155101 Patch from Chris Masone <cmasone@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21247 0039d316-1c4b-4281-b951-d872f2087c98