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

Side by Side Diff: chrome/browser/importer/ie_importer_utils_win.cc

Issue 15736014: Registry overriding doesn't seem to work across multiple processes prior to Win8, instead simply ha… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/importer/ie_importer_utils_win.h"
6
7 #include "chrome/browser/importer/ie_importer_test_registry_overrider_win.h"
8
9 namespace {
10
11 const char16 kIEFavoritesOrderKey[] =
12 L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\"
13 L"MenuOrder\\Favorites";
14
15 }
16
17 namespace importer {
18
19 base::string16 GetIEFavoritesOrderKey() {
20 // Return kIEFavoritesOrderKey unless an override is on for tests.
robertshield 2013/05/22 20:13:56 nit: is on -> has been set
gab 2013/05/22 20:39:19 Done.
21 base::string16 test_reg_override(
22 IEImporterTestRegistryOverrider::GetTestRegistryOverride());
23 return test_reg_override.empty() ? kIEFavoritesOrderKey : test_reg_override;
24 }
25
26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698