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

Unified Diff: chrome/browser/importer/ie_importer_utils_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/importer/ie_importer_utils_win.h ('k') | chrome/browser/importer/importer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/ie_importer_utils_win.cc
diff --git a/chrome/browser/importer/ie_importer_utils_win.cc b/chrome/browser/importer/ie_importer_utils_win.cc
deleted file mode 100644
index 8a77323c042d11a2d98446eb17bde21a18c51cf7..0000000000000000000000000000000000000000
--- a/chrome/browser/importer/ie_importer_utils_win.cc
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2013 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 "chrome/browser/importer/ie_importer_utils_win.h"
-
-#include "chrome/browser/importer/ie_importer_test_registry_overrider_win.h"
-
-namespace {
-
-const char16 kIEFavoritesOrderKey[] =
- L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\"
- L"MenuOrder\\Favorites";
-
-const char16 kIEStorage2Key[] =
- L"Software\\Microsoft\\Internet Explorer\\IntelliForms\\Storage2";
-
-const char16 kIESettingsMainKey[] =
- L"Software\\Microsoft\\Internet Explorer\\Main";
-
-string16 GetPotentiallyOverridenIEKey(const string16& desired_key_path) {
- base::string16 test_reg_override(
- IEImporterTestRegistryOverrider::GetTestRegistryOverride());
- return test_reg_override.empty() ? desired_key_path : test_reg_override;
-}
-
-} // namespace
-
-namespace importer {
-
-base::string16 GetIEFavoritesOrderKey() {
- // Return kIEFavoritesOrderKey unless an override has been set for tests.
- return GetPotentiallyOverridenIEKey(kIEFavoritesOrderKey);
-}
-
-base::string16 GetIE7PasswordsKey() {
- // Return kIEStorage2Key unless an override has been set for tests.
- return GetPotentiallyOverridenIEKey(kIEStorage2Key);
-}
-
-base::string16 GetIESettingsKey() {
- // Return kIESettingsMainKey unless an override has been set for tests.
- return GetPotentiallyOverridenIEKey(kIESettingsMainKey);
-}
-
-} // namespace importer
-
« no previous file with comments | « chrome/browser/importer/ie_importer_utils_win.h ('k') | chrome/browser/importer/importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698