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

Unified Diff: chrome/common/chrome_plugin_lib.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/browser/views/shell_dialogs_win.cc ('k') | chrome/installer/setup/install.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_plugin_lib.cc
===================================================================
--- chrome/common/chrome_plugin_lib.cc (revision 62848)
+++ chrome/common/chrome_plugin_lib.cc (working copy)
@@ -12,7 +12,7 @@
#include "base/perftimer.h"
#include "base/thread.h"
#if defined(OS_WIN)
-#include "base/registry.h"
+#include "base/win/registry.h"
#endif
#include "base/string_util.h"
#include "chrome/common/chrome_counters.h"
@@ -149,7 +149,7 @@
std::wstring reg_path = kRegistryChromePlugins;
reg_path.append(L"\\");
reg_path.append(iter.Name());
- RegKey key(HKEY_CURRENT_USER, reg_path.c_str());
+ base::win::RegKey key(HKEY_CURRENT_USER, reg_path.c_str());
DWORD is_persistent;
if (key.ReadValueDW(kRegistryLoadOnStartup, &is_persistent) &&
« no previous file with comments | « chrome/browser/views/shell_dialogs_win.cc ('k') | chrome/installer/setup/install.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698