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

Unified Diff: content/browser/site_instance_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/signed_certificate_timestamp_store_impl.h ('k') | content/browser/site_instance_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/site_instance_impl.h
diff --git a/content/browser/site_instance_impl.h b/content/browser/site_instance_impl.h
index 152c3f12a78867b311652f1ead07162e545c478f..6a60e938e6e48771889e849d36e6a6e2641ed005 100644
--- a/content/browser/site_instance_impl.h
+++ b/content/browser/site_instance_impl.h
@@ -5,6 +5,10 @@
#ifndef CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_
#define CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/common/content_export.h"
#include "content/public/browser/render_process_host_observer.h"
@@ -19,7 +23,7 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
public RenderProcessHostObserver {
public:
// SiteInstance interface overrides.
- int32 GetId() override;
+ int32_t GetId() override;
bool HasProcess() const override;
RenderProcessHost* GetProcess() override;
BrowserContext* GetBrowserContext() const override;
@@ -117,10 +121,10 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
static const RenderProcessHostFactory* g_render_process_host_factory_;
// The next available SiteInstance ID.
- static int32 next_site_instance_id_;
+ static int32_t next_site_instance_id_;
// A unique ID for this SiteInstance.
- int32 id_;
+ int32_t id_;
// The number of active frames in this SiteInstance.
size_t active_frame_count_;
« no previous file with comments | « content/browser/signed_certificate_timestamp_store_impl.h ('k') | content/browser/site_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698