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

Side by Side Diff: chrome/browser/policy/schema_registry_service_factory.cc

Issue 78453005: Move PolicySchema and PolicySchemaRegistry to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export nested class on win Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/policy/schema_registry_service.h ('k') | chrome/browser/policy/schema_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698