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

Unified Diff: chrome/browser/prerender/prerender_contents.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (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
« no previous file with comments | « chrome/browser/prerender/prerender_config.h ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index 6d6fdd01b2cc192110d35482ed2a78c720b8fa39..144ee610bb2c7ed7dc0b2480a2142360842908f5 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -5,10 +5,13 @@
#ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
#define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
+#include <stdint.h>
+
#include <string>
#include <utility>
#include <vector>
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
@@ -262,7 +265,7 @@ class PrerenderContents : public content::NotificationObserver,
const base::WeakPtr<PrerenderResourceThrottle>& throttle);
// Increments the number of bytes fetched over the network for this prerender.
- void AddNetworkBytes(int64 bytes);
+ void AddNetworkBytes(int64_t bytes);
protected:
PrerenderContents(PrerenderManager* prerender_manager,
@@ -314,7 +317,7 @@ class PrerenderContents : public content::NotificationObserver,
// The session storage namespace id for use in matching. We must save it
// rather than get it from the RenderViewHost since in the control group
// we won't have a RenderViewHost.
- int64 session_storage_namespace_id_;
+ int64_t session_storage_namespace_id_;
private:
class WebContentsDelegateImpl;
@@ -399,7 +402,7 @@ class PrerenderContents : public content::NotificationObserver,
// A running tally of the number of bytes this prerender has caused to be
// transferred over the network for resources. Updated with AddNetworkBytes.
- int64 network_bytes_;
+ int64_t network_bytes_;
DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
};
« no previous file with comments | « chrome/browser/prerender/prerender_config.h ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698