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

Side by Side Diff: chrome/common/importer/ie_importer_test_registry_overrider_win.cc

Issue 18501013: Move most importer code to chrome/utility/importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another gyp attempt Created 7 years, 5 months 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 (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
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 }
OLDNEW
« no previous file with comments | « chrome/common/importer/ie_importer_test_registry_overrider_win.h ('k') | chrome/common/importer/ie_importer_utils_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698