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

Unified Diff: ios/web/web_state/ui/crw_ui_web_view_web_controller.mm

Issue 1544743002: Switch to standard integer types in ios/. (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 | « ios/web/web_state/ui/crw_ui_web_view_web_controller.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_ui_web_view_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_ui_web_view_web_controller.mm b/ios/web/web_state/ui/crw_ui_web_view_web_controller.mm
index 587508a1ce74987656013c2a25afd15c1c6c1890..03549b249ce643399c6fd0e87f0cfe19cc2b68fc 100644
--- a/ios/web/web_state/ui/crw_ui_web_view_web_controller.mm
+++ b/ios/web/web_state/ui/crw_ui_web_view_web_controller.mm
@@ -4,6 +4,9 @@
#import "ios/web/web_state/ui/crw_ui_web_view_web_controller.h"
+#include <stddef.h>
+#include <stdint.h>
+
#import "base/ios/ios_util.h"
#import "base/ios/ns_error_util.h"
#import "base/ios/weak_nsobject.h"
@@ -11,6 +14,7 @@
#include "base/json/string_escape.h"
#include "base/mac/bind_objc_block.h"
#import "base/mac/scoped_nsobject.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/metrics/field_trial.h"
#include "base/strings/string_util.h"
@@ -46,17 +50,17 @@ namespace web {
// available for the purpose of performance tests.
// Frequency for the continuous checks when a reset in the page object is
// anticipated shortly. In milliseconds.
-const int64 kContinuousCheckIntervalMSHigh = 100;
+const int64_t kContinuousCheckIntervalMSHigh = 100;
// The maximum duration that the CRWWebController can run in high-frequency
// check mode before being changed back to the low frequency.
-const int64 kContinuousCheckHighFrequencyMSMaxDuration = 5000;
+const int64_t kContinuousCheckHighFrequencyMSMaxDuration = 5000;
// Frequency for the continuous checks when a reset in the page object is not
// anticipated; checks are only made as a precaution.
// The URL could be out of date for this many milliseconds, so this should not
// be increased without careful consideration.
-const int64 kContinuousCheckIntervalMSLow = 3000;
+const int64_t kContinuousCheckIntervalMSLow = 3000;
} // namespace web
« no previous file with comments | « ios/web/web_state/ui/crw_ui_web_view_web_controller.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698