Prathmesh Prabhu | 3e452f8 | 2013-04-10 16:31:44 -0700 | [diff] [blame] | 1 | // Copyright (c) 2013 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "shill/mock_dns_client_factory.h" |
| 6 | |
| 7 | namespace shill { |
| 8 | |
| 9 | namespace { |
| 10 | base::LazyInstance<MockDNSClientFactory> g_mock_dns_client_factory |
| 11 | = LAZY_INSTANCE_INITIALIZER; |
| 12 | } // namespace |
| 13 | |
| 14 | MockDNSClientFactory::MockDNSClientFactory() {} |
| 15 | MockDNSClientFactory::~MockDNSClientFactory() {} |
| 16 | |
| 17 | MockDNSClientFactory *MockDNSClientFactory::GetInstance() { |
| 18 | return g_mock_dns_client_factory.Pointer(); |
| 19 | } |
| 20 | |
| 21 | } // namespace shill |