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

Unified Diff: components/policy/core/common/cloud/external_policy_data_fetcher.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_fetcher.h
diff --git a/components/policy/core/common/cloud/external_policy_data_fetcher.h b/components/policy/core/common/cloud/external_policy_data_fetcher.h
index b4927683ddbca8e9500b22c13c922a5486762e0a..b6f5bbd2bc8ae561201544dd1180771e84121761 100644
--- a/components/policy/core/common/cloud/external_policy_data_fetcher.h
+++ b/components/policy/core/common/cloud/external_policy_data_fetcher.h
@@ -5,13 +5,15 @@
#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_EXTERNAL_POLICY_DATA_FETCHER_H_
#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_EXTERNAL_POLICY_DATA_FETCHER_H_
+#include <stdint.h>
+
#include <map>
#include <set>
#include <string>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -83,7 +85,7 @@ class POLICY_EXPORT ExternalPolicyDataFetcher {
// StartJob() again. Returns an opaque job identifier. Ownership of the job
// identifier is retained by |this|.
Job* StartJob(const GURL& url,
- int64 max_size,
+ int64_t max_size,
const FetchCallback& callback);
// Cancel the fetch job identified by |job|. The job is canceled silently,
@@ -158,8 +160,8 @@ class POLICY_EXPORT ExternalPolicyDataFetcherBackend
// net::URLFetcherDelegate:
void OnURLFetchComplete(const net::URLFetcher* source) override;
void OnURLFetchDownloadProgress(const net::URLFetcher* source,
- int64 current,
- int64 total) override;
+ int64_t current,
+ int64_t total) override;
private:
scoped_refptr<base::SequencedTaskRunner> io_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698