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

Unified Diff: content/browser/storage_partition_impl.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « content/browser/startup_task_runner.h ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl.h
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
index 2c08a7e8744df25540f9b2f28e29e991a28861e3..9d9e6eeeffcffa6f1fcede95e90d55b1e1407bc8 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -5,9 +5,12 @@
#ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_
#define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_
+#include <stdint.h>
+
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "content/browser/appcache/chrome_appcache_service.h"
#include "content/browser/background_sync/background_sync_context_impl.h"
@@ -31,7 +34,7 @@ class StoragePartitionImpl : public StoragePartition {
// Quota managed data uses a different bitmask for types than
// StoragePartition uses. This method generates that mask.
- CONTENT_EXPORT static int GenerateQuotaClientMask(uint32 remove_mask);
+ CONTENT_EXPORT static int GenerateQuotaClientMask(uint32_t remove_mask);
CONTENT_EXPORT void OverrideQuotaManagerForTesting(
storage::QuotaManager* quota_manager);
@@ -58,13 +61,13 @@ class StoragePartitionImpl : public StoragePartition {
PlatformNotificationContextImpl* GetPlatformNotificationContext() override;
BackgroundSyncContextImpl* GetBackgroundSyncContext() override;
- void ClearDataForOrigin(uint32 remove_mask,
- uint32 quota_storage_remove_mask,
+ void ClearDataForOrigin(uint32_t remove_mask,
+ uint32_t quota_storage_remove_mask,
const GURL& storage_origin,
net::URLRequestContextGetter* request_context_getter,
const base::Closure& callback) override;
- void ClearData(uint32 remove_mask,
- uint32 quota_storage_remove_mask,
+ void ClearData(uint32_t remove_mask,
+ uint32_t quota_storage_remove_mask,
const GURL& storage_origin,
const OriginMatcherFunction& origin_matcher,
const base::Time begin,
@@ -145,8 +148,8 @@ class StoragePartitionImpl : public StoragePartition {
PlatformNotificationContextImpl* platform_notification_context,
BackgroundSyncContextImpl* background_sync_context);
- void ClearDataImpl(uint32 remove_mask,
- uint32 quota_storage_remove_mask,
+ void ClearDataImpl(uint32_t remove_mask,
+ uint32_t quota_storage_remove_mask,
const GURL& remove_origin,
const OriginMatcherFunction& origin_matcher,
net::URLRequestContextGetter* rq_context,
« no previous file with comments | « content/browser/startup_task_runner.h ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698