| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/policy/schema_registry_service_factory.h" | 5 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chrome/browser/policy/schema_registry.h" | |
| 9 #include "chrome/browser/policy/schema_registry_service.h" | 8 #include "chrome/browser/policy/schema_registry_service.h" |
| 10 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" | 9 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" |
| 11 #include "components/policy/core/common/schema.h" | 10 #include "components/policy/core/common/schema.h" |
| 11 #include "components/policy/core/common/schema_registry.h" |
| 12 #include "content/public/browser/browser_context.h" | 12 #include "content/public/browser/browser_context.h" |
| 13 | 13 |
| 14 namespace policy { | 14 namespace policy { |
| 15 | 15 |
| 16 // static | 16 // static |
| 17 SchemaRegistryServiceFactory* SchemaRegistryServiceFactory::GetInstance() { | 17 SchemaRegistryServiceFactory* SchemaRegistryServiceFactory::GetInstance() { |
| 18 return Singleton<SchemaRegistryServiceFactory>::get(); | 18 return Singleton<SchemaRegistryServiceFactory>::get(); |
| 19 } | 19 } |
| 20 | 20 |
| 21 // static | 21 // static |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 BrowserContextKeyedBaseFactory::BrowserContextDestroyed(context); | 83 BrowserContextKeyedBaseFactory::BrowserContextDestroyed(context); |
| 84 } | 84 } |
| 85 | 85 |
| 86 void SchemaRegistryServiceFactory::SetEmptyTestingFactory( | 86 void SchemaRegistryServiceFactory::SetEmptyTestingFactory( |
| 87 content::BrowserContext* context) {} | 87 content::BrowserContext* context) {} |
| 88 | 88 |
| 89 void SchemaRegistryServiceFactory::CreateServiceNow( | 89 void SchemaRegistryServiceFactory::CreateServiceNow( |
| 90 content::BrowserContext* context) {} | 90 content::BrowserContext* context) {} |
| 91 | 91 |
| 92 } // namespace policy | 92 } // namespace policy |
| OLD | NEW |