diff options
Diffstat (limited to 'extensions/browser/extension_throttle_entry_interface.h')
-rw-r--r-- | extensions/browser/extension_throttle_entry_interface.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/browser/extension_throttle_entry_interface.h b/extensions/browser/extension_throttle_entry_interface.h index 99989b8..57d1b02 100644 --- a/extensions/browser/extension_throttle_entry_interface.h +++ b/extensions/browser/extension_throttle_entry_interface.h @@ -5,9 +5,11 @@ #ifndef EXTENSIONS_BROWSER_EXTENSION_THROTTLE_ENTRY_INTERFACE_H_ #define EXTENSIONS_BROWSER_EXTENSION_THROTTLE_ENTRY_INTERFACE_H_ +#include <stdint.h> + #include <string> -#include "base/basictypes.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/time/time.h" #include "net/base/net_export.h" @@ -42,7 +44,7 @@ class ExtensionThrottleEntryInterface // milliseconds. The return value is always positive or 0. // Although it is not mandatory, respecting the value returned by this method // is helpful to avoid traffic overload. - virtual int64 ReserveSendingTimeForNextRequest( + virtual int64_t ReserveSendingTimeForNextRequest( const base::TimeTicks& earliest_time) = 0; // Returns the time after which requests are allowed. |