Chromium Code Reviews| Index: components/wifi_sync/wifi_credential_syncable_service_factory.cc |
| diff --git a/components/wifi_sync/wifi_credential_syncable_service_factory.cc b/components/wifi_sync/wifi_credential_syncable_service_factory.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..72709a026848f30419dd9679738b82d3c39192da |
| --- /dev/null |
| +++ b/components/wifi_sync/wifi_credential_syncable_service_factory.cc |
| @@ -0,0 +1,47 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "components/wifi_sync/wifi_credential_syncable_service_factory.h" |
| + |
| +#include "components/keyed_service/content/browser_context_dependency_manager.h" |
| + |
| +namespace wifi_sync { |
| + |
| +// static |
| +WifiCredentialSyncableService* |
| +WifiCredentialSyncableServiceFactory::GetForProfile(Profile* profile) { |
| + NOTIMPLEMENTED(); |
|
Elliot Glaysher
2014/10/29 19:41:17
I don't understand why you've written this stub.
mukesh agrawal
2014/10/30 18:41:29
Fair point. This one can wait until later.
|
| + return nullptr; |
| +} |
| + |
| +// static |
| +WifiCredentialSyncableServiceFactory* |
| +WifiCredentialSyncableServiceFactory::GetInstance() { |
| + NOTIMPLEMENTED(); |
| + return nullptr; |
| +} |
| + |
| +WifiCredentialSyncableServiceFactory::WifiCredentialSyncableServiceFactory() |
| + : BrowserContextKeyedServiceFactory( |
| + "WifiCredentialSyncableService", |
| + BrowserContextDependencyManager::GetInstance()) { |
| +} |
| + |
| +WifiCredentialSyncableServiceFactory::~WifiCredentialSyncableServiceFactory() { |
| +} |
| + |
| +KeyedService* WifiCredentialSyncableServiceFactory::BuildServiceInstanceFor( |
| + content::BrowserContext* context) const { |
| + NOTIMPLEMENTED(); |
| + return nullptr; |
| +} |
| + |
| +content::BrowserContext* |
| +WifiCredentialSyncableServiceFactory::GetBrowserContextToUse( |
| + content::BrowserContext* context) const { |
| + NOTIMPLEMENTED(); |
| + return nullptr; |
| +} |
| + |
| +} // namespace wifi_sync |