diff options
author | cmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-03 21:40:10 +0000 |
---|---|---|
committer | cmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-03 21:40:10 +0000 |
commit | 32352d183d26f0c96014c3a22d8beb2d3e91e3fd (patch) | |
tree | 46350d8c44156f636cc6f11ce87edfbd9151178b /chrome/chrome_tests.gypi | |
parent | 43d259d2f2653c30652d09856bcbfbcfdf639f2e (diff) | |
download | chromium_src-32352d183d26f0c96014c3a22d8beb2d3e91e3fd.zip chromium_src-32352d183d26f0c96014c3a22d8beb2d3e91e3fd.tar.gz chromium_src-32352d183d26f0c96014c3a22d8beb2d3e91e3fd.tar.bz2 |
[CHrome OS] Provides nicer abstractions around ownership API
There are two categories of operations that can be performed on the Chrome OS owner-signed settings store:
1) doing stuff to the whitelist (adding/removing/checking)
2) Storing/Retrieving arbitrary name=value pairs
Unfortunately, it is currently a limitation that only one of a each category can be in-flight at a time. I've filed an issue on me to remove that restriction.
The pattern of use here is that the caller instantiates some subclass of SignedSettings by calling one of the create methods. Then, call Execute() on this object from the UI thread. It'll go off and do work (on the FILE thread and over DBus), and then call the appropriate method of the Delegate you passed in -- again, on the UI thread.
BUG=chromium-os:4488
TEST=Unit tests
Review URL: http://codereview.chromium.org/3345002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58546 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r-- | chrome/chrome_tests.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index cd751e2..45ebc5d 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -870,6 +870,7 @@ 'browser/chromeos/login/owner_key_utils_unittest.cc', 'browser/chromeos/login/owner_manager_unittest.cc', 'browser/chromeos/login/ownership_service_unittest.cc', + 'browser/chromeos/login/signed_settings_unittest.cc', 'browser/chromeos/notifications/desktop_notifications_unittest.cc', 'browser/chromeos/offline/offline_load_page_unittest.cc', 'browser/chromeos/options/language_config_model_unittest.cc', |