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

Unified Diff: components/policy/core/common/cloud/cloud_policy_store.h

Issue 1543423002: Switch to standard integer types in components/policy/. (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
Index: components/policy/core/common/cloud/cloud_policy_store.h
diff --git a/components/policy/core/common/cloud/cloud_policy_store.h b/components/policy/core/common/cloud/cloud_policy_store.h
index 9a86f9128caebd2f56c9d1d11efde7abf79f1381..5bdc96708eb4e2d1172ee8d834d986d75e9a9f60 100644
--- a/components/policy/core/common/cloud/cloud_policy_store.h
+++ b/components/policy/core/common/cloud/cloud_policy_store.h
@@ -5,7 +5,9 @@
#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_STORE_H_
#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_STORE_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
@@ -88,9 +90,8 @@ class POLICY_EXPORT CloudPolicyStore {
// Errors generate OnStoreError() notifications.
// |invalidation_version| is the invalidation version of the policy to be
// stored.
- void Store(
- const enterprise_management::PolicyFetchResponse& policy,
- int64 invalidation_version);
+ void Store(const enterprise_management::PolicyFetchResponse& policy,
+ int64_t invalidation_version);
virtual void Store(
const enterprise_management::PolicyFetchResponse& policy) = 0;
@@ -109,9 +110,7 @@ class POLICY_EXPORT CloudPolicyStore {
// The invalidation version of the last policy stored. This value can be read
// by observers to determine which version of the policy is now available.
- int64 invalidation_version() {
- return invalidation_version_;
- }
+ int64_t invalidation_version() { return invalidation_version_; }
// Indicate that external data referenced by policies in this store is managed
// by |external_data_manager|. The |external_data_manager| will be notified
@@ -148,7 +147,7 @@ class POLICY_EXPORT CloudPolicyStore {
CloudPolicyValidatorBase::Status validation_status_;
// The invalidation version of the last policy stored.
- int64 invalidation_version_;
+ int64_t invalidation_version_;
private:
// Whether the store has completed asynchronous initialization, which is

Powered by Google App Engine
This is Rietveld 408576698