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

Unified Diff: rlz/lib/rlz_value_store.h

Issue 1547683004: Switch to standard integer types in rlz/. (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 | « rlz/lib/rlz_lib_test.cc ('k') | rlz/lib/string_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/lib/rlz_value_store.h
diff --git a/rlz/lib/rlz_value_store.h b/rlz/lib/rlz_value_store.h
index 4bd1f093b83af5110556f65d0cb379a0c127d913..e2cc847d7abd7c5e7c2f2b202acbd1965aa6be31 100644
--- a/rlz/lib/rlz_value_store.h
+++ b/rlz/lib/rlz_value_store.h
@@ -5,8 +5,14 @@
#ifndef RLZ_VALUE_STORE_H_
#define RLZ_VALUE_STORE_H_
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
+#include <string>
+#include <vector>
+
#include "base/memory/scoped_ptr.h"
+#include "build/build_config.h"
#include "rlz/lib/rlz_enums.h"
#if defined(OS_WIN)
@@ -17,10 +23,6 @@
#include "base/mac/scoped_nsautorelease_pool.h"
#endif
-
-#include <string>
-#include <vector>
-
namespace base {
class FilePath;
}
@@ -37,8 +39,8 @@ class RlzValueStore {
virtual bool HasAccess(AccessType type) = 0;
// Ping times.
- virtual bool WritePingTime(Product product, int64 time) = 0;
- virtual bool ReadPingTime(Product product, int64* time) = 0;
+ virtual bool WritePingTime(Product product, int64_t time) = 0;
+ virtual bool ReadPingTime(Product product, int64_t* time) = 0;
virtual bool ClearPingTime(Product product) = 0;
// Access point RLZs.
« no previous file with comments | « rlz/lib/rlz_lib_test.cc ('k') | rlz/lib/string_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698