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

Side by Side Diff: base/critical_closure_stub.cc

Issue 10835032: Add APIs to protect critical tasks on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address review comments Created 8 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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/critical_closure.h"
6
7 namespace base {
8
9 base::Closure MakeCriticalClosure(const base::Closure& closure) {
Mark Mentovai 2012/07/31 23:16:33 You should get rid of this stub file and write thi
stuartmorgan 2012/08/01 04:31:55 Okay; we did it this way originally because I thou
Chen Yu 2012/08/01 11:26:13 Done.
10 // No-op for platforms where the application does not need to acquire
11 // background time for closures to finish when it goes into the background.
12 return closure;
13 }
14
15 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698