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

Unified Diff: base/win/registry.h

Issue 1550493002: Switch to standard integer types in base/win/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/win/pe_image_unittest.cc ('k') | base/win/registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/registry.h
diff --git a/base/win/registry.h b/base/win/registry.h
index 83f354d0b6d6dfb0b6f3cc3459e0f628eef10459..1285be010d42bb45e47c9c4c613e659e0cb687da 100644
--- a/base/win/registry.h
+++ b/base/win/registry.h
@@ -6,11 +6,12 @@
#define BASE_WIN_REGISTRY_H_
#include <windows.h>
+#include <stdint.h>
#include <string>
#include <vector>
#include "base/base_export.h"
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "base/win/object_watcher.h"
#include "base/win/scoped_handle.h"
@@ -84,13 +85,13 @@ class BASE_EXPORT RegKey {
// Getters:
- // Returns an int32 value. If |name| is NULL or empty, returns the default
+ // Returns an int32_t value. If |name| is NULL or empty, returns the default
// value, if any.
LONG ReadValueDW(const wchar_t* name, DWORD* out_value) const;
- // Returns an int64 value. If |name| is NULL or empty, returns the default
+ // Returns an int64_t value. If |name| is NULL or empty, returns the default
// value, if any.
- LONG ReadInt64(const wchar_t* name, int64* out_value) const;
+ LONG ReadInt64(const wchar_t* name, int64_t* out_value) const;
// Returns a string value. If |name| is NULL or empty, returns the default
// value, if any.
@@ -110,7 +111,7 @@ class BASE_EXPORT RegKey {
// Setters:
- // Sets an int32 value.
+ // Sets an int32_t value.
LONG WriteValue(const wchar_t* name, DWORD in_value);
// Sets a string value.
« no previous file with comments | « base/win/pe_image_unittest.cc ('k') | base/win/registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698