Index: chrome/browser/chromeos/ownership/owner_settings_service_factory.h |
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_factory.h b/chrome/browser/chromeos/ownership/owner_settings_service_factory.h |
index e98773a7732e9213b3dd6904b2d515e732f3f756..540a84f7340ff7704af52086d52c67528ba64cf0 100644 |
--- a/chrome/browser/chromeos/ownership/owner_settings_service_factory.h |
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_factory.h |
@@ -9,8 +9,10 @@ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
+#include "base/memory/ref_counted.h" |
#include "base/memory/singleton.h" |
#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
+#include "components/ownership/owner_key_util.h" |
erikwright (departed)
2014/09/03 14:07:16
nit: you should be able to forward-decl this now.
ygorshenin1
2014/09/04 07:35:53
Done.
|
class KeyedService; |
class Profile; |
@@ -25,6 +27,11 @@ class OwnerSettingsServiceFactory : public BrowserContextKeyedServiceFactory { |
static OwnerSettingsServiceFactory* GetInstance(); |
+ scoped_refptr<ownership::OwnerKeyUtil> GetOwnerKeyUtil(); |
+ |
+ void SetOwnerKeyUtilForTesting( |
+ const scoped_refptr<ownership::OwnerKeyUtil>& owner_key_util); |
+ |
private: |
friend struct DefaultSingletonTraits<OwnerSettingsServiceFactory>; |
@@ -40,6 +47,8 @@ class OwnerSettingsServiceFactory : public BrowserContextKeyedServiceFactory { |
virtual KeyedService* BuildServiceInstanceFor( |
content::BrowserContext* browser_context) const OVERRIDE; |
+ scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_; |
+ |
DISALLOW_COPY_AND_ASSIGN(OwnerSettingsServiceFactory); |
}; |