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

Side by Side Diff: storage/browser/fileapi/timed_task_helper.cc

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "webkit/browser/fileapi/timed_task_helper.h" 5 #include "storage/browser/fileapi/timed_task_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/sequenced_task_runner.h" 9 #include "base/sequenced_task_runner.h"
10 10
11 namespace storage { 11 namespace storage {
12 12
13 struct TimedTaskHelper::Tracker { 13 struct TimedTaskHelper::Tracker {
14 explicit Tracker(TimedTaskHelper* timer) : timer(timer) {} 14 explicit Tracker(TimedTaskHelper* timer) : timer(timer) {}
15 15
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 void TimedTaskHelper::PostDelayedTask(scoped_ptr<Tracker> tracker, 84 void TimedTaskHelper::PostDelayedTask(scoped_ptr<Tracker> tracker,
85 base::TimeDelta delay) { 85 base::TimeDelta delay) {
86 task_runner_->PostDelayedTask( 86 task_runner_->PostDelayedTask(
87 posted_from_, 87 posted_from_,
88 base::Bind(&TimedTaskHelper::Fired, base::Passed(&tracker)), 88 base::Bind(&TimedTaskHelper::Fired, base::Passed(&tracker)),
89 delay); 89 delay);
90 } 90 }
91 91
92 } // namespace storage 92 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/fileapi/timed_task_helper.h ('k') | storage/browser/fileapi/transient_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698