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

Side by Side Diff: components/scheduler/renderer/web_view_scheduler_impl.h

Issue 2184123002: Change VirtualTimePolicy::PAUSE_IF_NETWORK_FETCHES_PENDING (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER_IMPL_H_ 5 #ifndef COMPONENTS_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER_IMPL_H_
6 #define COMPONENTS_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER_IMPL_H_ 6 #define COMPONENTS_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::set<WebFrameSchedulerImpl*> frame_schedulers_; 70 std::set<WebFrameSchedulerImpl*> frame_schedulers_;
71 std::set<unsigned long> pending_loads_; 71 std::set<unsigned long> pending_loads_;
72 std::unique_ptr<AutoAdvancingVirtualTimeDomain> virtual_time_domain_; 72 std::unique_ptr<AutoAdvancingVirtualTimeDomain> virtual_time_domain_;
73 TaskQueue::PumpPolicy virtual_time_pump_policy_; 73 TaskQueue::PumpPolicy virtual_time_pump_policy_;
74 blink::WebView* web_view_; 74 blink::WebView* web_view_;
75 RendererSchedulerImpl* renderer_scheduler_; 75 RendererSchedulerImpl* renderer_scheduler_;
76 VirtualTimePolicy virtual_time_policy_; 76 VirtualTimePolicy virtual_time_policy_;
77 bool page_visible_; 77 bool page_visible_;
78 bool disable_background_timer_throttling_; 78 bool disable_background_timer_throttling_;
79 bool allow_virtual_time_to_advance_; 79 bool allow_virtual_time_to_advance_;
80 bool have_seen_loading_task_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(WebViewSchedulerImpl); 82 DISALLOW_COPY_AND_ASSIGN(WebViewSchedulerImpl);
82 }; 83 };
83 84
84 } // namespace scheduler 85 } // namespace scheduler
85 86
86 #endif // COMPONENTS_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER_IMPL_H_ 87 #endif // COMPONENTS_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698