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

Unified Diff: chrome/app/breakpad_win.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 | « base/windows_message_list.h ('k') | chrome/browser/autofill/autofill_ie_toolbar_import_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_win.cc
===================================================================
--- chrome/app/breakpad_win.cc (revision 62848)
+++ chrome/app/breakpad_win.cc (working copy)
@@ -16,12 +16,12 @@
#include "base/environment.h"
#include "base/file_util.h"
#include "base/file_version_info.h"
-#include "base/registry.h"
#include "base/scoped_ptr.h"
#include "base/string_split.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "base/win_util.h"
+#include "base/win/registry.h"
#include "breakpad/src/client/windows/handler/exception_handler.h"
#include "chrome/app/hard_error_handler_win.h"
#include "chrome/common/child_process_logging.h"
@@ -432,13 +432,15 @@
static bool MetricsReportingControlledByPolicy(bool* result) {
std::wstring key_name = UTF8ToWide(policy::key::kMetricsReportingEnabled);
DWORD value;
- RegKey hkcu_policy_key(HKEY_LOCAL_MACHINE, policy::kRegistrySubKey, KEY_READ);
+ base::win::RegKey hkcu_policy_key(HKEY_LOCAL_MACHINE,
+ policy::kRegistrySubKey, KEY_READ);
if (hkcu_policy_key.ReadValueDW(key_name.c_str(), &value)) {
*result = value != 0;
return true;
}
- RegKey hklm_policy_key(HKEY_CURRENT_USER, policy::kRegistrySubKey, KEY_READ);
+ base::win::RegKey hklm_policy_key(HKEY_CURRENT_USER,
+ policy::kRegistrySubKey, KEY_READ);
if (hklm_policy_key.ReadValueDW(key_name.c_str(), &value)) {
*result = value != 0;
return true;
« no previous file with comments | « base/windows_message_list.h ('k') | chrome/browser/autofill/autofill_ie_toolbar_import_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698