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

Unified Diff: components/policy/core/common/cloud/external_policy_data_updater.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/external_policy_data_updater.h
diff --git a/components/policy/core/common/cloud/external_policy_data_updater.h b/components/policy/core/common/cloud/external_policy_data_updater.h
index 78b6b7c6e998ae03c82470498b988cfb9512a54a..93795ba853c586fa5665d645c1fbfe5680a14bcd 100644
--- a/components/policy/core/common/cloud/external_policy_data_updater.h
+++ b/components/policy/core/common/cloud/external_policy_data_updater.h
@@ -5,12 +5,15 @@
#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_EXTERNAL_POLICY_DATA_UPDATER_H_
#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_EXTERNAL_POLICY_DATA_UPDATER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <queue>
#include <string>
-#include "base/basictypes.h"
#include "base/callback_forward.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -37,13 +40,13 @@ class POLICY_EXPORT ExternalPolicyDataUpdater {
struct POLICY_EXPORT Request {
public:
Request();
- Request(const std::string& url, const std::string& hash, int64 max_size);
+ Request(const std::string& url, const std::string& hash, int64_t max_size);
bool operator==(const Request& other) const;
std::string url;
std::string hash;
- int64 max_size;
+ int64_t max_size;
};
// This callback is invoked when a fetch has successfully retrieved |data|

Powered by Google App Engine
This is Rietveld 408576698