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

Side by Side Diff: components/scheduler/child/web_task_runner_impl.h

Issue 1402933002: Revert "Post loading tasks on the appropriate WebFrameScheduler's queue." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge Created 5 years, 2 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_CHILD_WEB_TASK_RUNNER_H_ 5 #ifndef COMPONENTS_SCHEDULER_CHILD_WEB_TASK_RUNNER_H_
6 #define COMPONENTS_SCHEDULER_CHILD_WEB_TASK_RUNNER_H_ 6 #define COMPONENTS_SCHEDULER_CHILD_WEB_TASK_RUNNER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 16 matching lines...) Expand all
27 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner() const { 27 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner() const {
28 return task_runner_; 28 return task_runner_;
29 } 29 }
30 30
31 // blink::WebTaskRunner implementation: 31 // blink::WebTaskRunner implementation:
32 void postTask(const blink::WebTraceLocation& web_location, 32 void postTask(const blink::WebTraceLocation& web_location,
33 blink::WebTaskRunner::Task* task) override; 33 blink::WebTaskRunner::Task* task) override;
34 void postDelayedTask(const blink::WebTraceLocation& web_location, 34 void postDelayedTask(const blink::WebTraceLocation& web_location,
35 blink::WebTaskRunner::Task* task, 35 blink::WebTaskRunner::Task* task,
36 double delayMs) override; 36 double delayMs) override;
37 blink::WebTaskRunner* clone() override;
38 37
39 private: 38 private:
40 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 39 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
41 40
42 DISALLOW_COPY_AND_ASSIGN(WebTaskRunnerImpl); 41 DISALLOW_COPY_AND_ASSIGN(WebTaskRunnerImpl);
43 }; 42 };
44 43
45 } // namespace scheduler 44 } // namespace scheduler
46 45
47 #endif // COMPONENTS_SCHEDULER_CHILD_WEB_TASK_RUNNER_H_ 46 #endif // COMPONENTS_SCHEDULER_CHILD_WEB_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_url_loader_impl.cc ('k') | components/scheduler/child/web_task_runner_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698