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

Unified Diff: chrome_frame/crash_reporting/crash_metrics.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_frame/chrome_tab.cc ('k') | chrome_frame/policy_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/crash_reporting/crash_metrics.cc
===================================================================
--- chrome_frame/crash_reporting/crash_metrics.cc (revision 62848)
+++ chrome_frame/crash_reporting/crash_metrics.cc (working copy)
@@ -5,7 +5,7 @@
#include "chrome_frame/crash_reporting/crash_metrics.h"
#include "base/metrics/histogram.h"
-#include "base/registry.h"
+#include "base/win/registry.h"
#include "chrome_frame/utils.h"
static const wchar_t kChromeFrameMetricsKey[] =
@@ -28,7 +28,7 @@
bool CrashMetricsReporter::SetMetric(Metric metric, int value) {
DCHECK(metric >= NAVIGATION_COUNT && metric <= LAST_METRIC);
- RegKey metric_key;
+ base::win::RegKey metric_key;
if (metric_key.Create(HKEY_CURRENT_USER, kChromeFrameMetricsKey,
KEY_SET_VALUE)) {
if (metric_key.WriteValue(g_metric_names[metric], value)) {
@@ -47,7 +47,7 @@
DCHECK(metric >= NAVIGATION_COUNT && metric <= LAST_METRIC);
int ret = 0;
- RegKey metric_key;
+ base::win::RegKey metric_key;
if (metric_key.Open(HKEY_CURRENT_USER, kChromeFrameMetricsKey,
KEY_QUERY_VALUE)) {
int value = 0;
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | chrome_frame/policy_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698