Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2699)

Unified Diff: chrome/browser/chromeos/settings/owner_key_util.h

Issue 10905179: Make OwnerKeyUtil thread safe as originally intended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/settings/owner_key_util.h
diff --git a/chrome/browser/chromeos/settings/owner_key_util.h b/chrome/browser/chromeos/settings/owner_key_util.h
index faa89d590b2c28220278fb30aa73b66db0dd1f84..fc94394f73fccab4b674780c557840e6fa24e37a 100644
--- a/chrome/browser/chromeos/settings/owner_key_util.h
+++ b/chrome/browser/chromeos/settings/owner_key_util.h
@@ -24,7 +24,7 @@ namespace chromeos {
class OwnerKeyUtilTest;
-class OwnerKeyUtil : public base::RefCounted<OwnerKeyUtil> {
+class OwnerKeyUtil : public base::RefCountedThreadSafe<OwnerKeyUtil> {
public:
// Creates an OwnerKeyUtil instance.
static OwnerKeyUtil* Create();
@@ -47,7 +47,7 @@ class OwnerKeyUtil : public base::RefCounted<OwnerKeyUtil> {
virtual ~OwnerKeyUtil();
private:
- friend class base::RefCounted<OwnerKeyUtil>;
+ friend class base::RefCountedThreadSafe<OwnerKeyUtil>;
FRIEND_TEST_ALL_PREFIXES(OwnerKeyUtilTest, ExportImportPublicKey);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698