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

Unified Diff: chrome/installer/util/compat_checks.cc

Issue 3836005: Move pe_image and registry from base to base/win and use the namespace. It re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/installer/util/browser_distribution.cc ('k') | chrome/installer/util/create_reg_key_work_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/compat_checks.cc
===================================================================
--- chrome/installer/util/compat_checks.cc (revision 62848)
+++ chrome/installer/util/compat_checks.cc (working copy)
@@ -4,10 +4,10 @@
#include "chrome/installer/util/compat_checks.h"
-#include "base/registry.h"
#include "base/string_number_conversions.h"
#include "base/string_split.h"
#include "base/string_util.h"
+#include "base/win/registry.h"
namespace {
@@ -15,7 +15,7 @@
std::wstring GetSEPVersion() {
const wchar_t kProductKey[] =
L"SOFTWARE\\Symantec\\Symantec Endpoint Protection\\SMC";
- RegKey key(HKEY_LOCAL_MACHINE, kProductKey, KEY_READ);
+ base::win::RegKey key(HKEY_LOCAL_MACHINE, kProductKey, KEY_READ);
std::wstring version_str;
key.ReadValue(L"ProductVersion", &version_str);
return version_str;
« no previous file with comments | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/create_reg_key_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698