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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 2871703002: Revert of Simplify FrameLoader::Clear(), remove FrameLoader::check_timer_ (Closed)
Patch Set: Created 3 years, 7 months 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
Index: third_party/WebKit/Source/core/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index e2b159cd43a991ddeb0796b68b9614a6ddb95d2b..75fbc7e09158957c78863265dea813682f81d9c8 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -42,6 +42,7 @@
#include "core/loader/FrameLoaderTypes.h"
#include "core/loader/HistoryItem.h"
#include "core/loader/NavigationPolicy.h"
+#include "platform/Timer.h"
#include "platform/heap/Handle.h"
#include "platform/instrumentation/tracing/TracedValue.h"
#include "platform/loader/fetch/ResourceLoaderOptions.h"
@@ -226,6 +227,8 @@
static void SetReferrerForFrameRequest(FrameLoadRequest&);
private:
+ void CheckTimerFired(TimerBase*);
+
bool PrepareRequestForThisFrame(FrameLoadRequest&);
FrameLoadType DetermineFrameLoadType(const FrameLoadRequest&);
@@ -288,6 +291,8 @@
bool in_stop_all_loaders_;
+ TaskRunnerTimer<FrameLoader> check_timer_;
+
SandboxFlags forced_sandbox_flags_;
bool dispatching_did_clear_window_object_in_main_world_;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698