OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/chromeos/login/mock_owner_key_utils.h" | 5 #include "chrome/browser/chromeos/settings/mock_owner_key_utils.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 | 8 |
9 MockKeyUtils::MockKeyUtils() {} | 9 MockKeyUtils::MockKeyUtils() {} |
10 | 10 |
11 MockKeyUtils::~MockKeyUtils() {} | 11 MockKeyUtils::~MockKeyUtils() {} |
12 | 12 |
13 MockInjector::MockInjector(MockKeyUtils* mock) : transient_(mock) {} | 13 MockInjector::MockInjector(MockKeyUtils* mock) : transient_(mock) {} |
14 | 14 |
15 MockInjector::~MockInjector() {} | 15 MockInjector::~MockInjector() {} |
16 | 16 |
17 OwnerKeyUtils* MockInjector::CreateOwnerKeyUtils() { | 17 OwnerKeyUtils* MockInjector::CreateOwnerKeyUtils() { |
18 return transient_.get(); | 18 return transient_.get(); |
19 } | 19 } |
20 } // namespace chromeos | 20 } // namespace chromeos |
OLD | NEW |