OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/importer/ie_importer_test_registry_overrider_win.h" | 5 #include "chrome/common/importer/ie_importer_test_registry_overrider_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/environment.h" | 11 #include "base/environment.h" |
12 #include "base/guid.h" | 12 #include "base/guid.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/win/registry.h" | 15 #include "base/win/registry.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 DCHECK(success); | 61 DCHECK(success); |
62 } | 62 } |
63 | 63 |
64 // static | 64 // static |
65 base::string16 IEImporterTestRegistryOverrider::GetTestRegistryOverride() { | 65 base::string16 IEImporterTestRegistryOverrider::GetTestRegistryOverride() { |
66 base::string16 key; | 66 base::string16 key; |
67 if (!GetTestKeyFromEnvironment(&key)) | 67 if (!GetTestKeyFromEnvironment(&key)) |
68 return string16(); | 68 return string16(); |
69 return key; | 69 return key; |
70 } | 70 } |
OLD | NEW |