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

Side by Side Diff: base/mac/libdispatch_task_runner.h

Issue 985003004: base: Fix/add header #ifndef guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: headers: . Created 5 years, 9 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
« no previous file with comments | « base/mac/cocoa_protocols.h ('k') | base/memory/memory_pressure_listener.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 BASE_MAC_LIBDISPATCH_SEQUENCED_TASK_RUNNER_H_ 5 #ifndef BASE_MAC_LIBDISPATCH_TASK_RUNNER_H_
6 #define BASE_MAC_LIBDISPATCH_SEQUENCED_TASK_RUNNER_H_ 6 #define BASE_MAC_LIBDISPATCH_TASK_RUNNER_H_
7 7
8 #include <dispatch/dispatch.h> 8 #include <dispatch/dispatch.h>
9 9
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 12
13 namespace base { 13 namespace base {
14 namespace mac { 14 namespace mac {
15 15
16 // This is an implementation of the TaskRunner interface that runs closures on 16 // This is an implementation of the TaskRunner interface that runs closures on
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 dispatch_queue_t queue_; 71 dispatch_queue_t queue_;
72 72
73 // The event on which Shutdown waits until Finalizer runs. 73 // The event on which Shutdown waits until Finalizer runs.
74 base::WaitableEvent queue_finalized_; 74 base::WaitableEvent queue_finalized_;
75 }; 75 };
76 76
77 } // namespace mac 77 } // namespace mac
78 } // namespace base 78 } // namespace base
79 79
80 #endif // BASE_MAC_LIBDISPATCH_SEQUENCED_TASK_RUNNER_H_ 80 #endif // BASE_MAC_LIBDISPATCH_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « base/mac/cocoa_protocols.h ('k') | base/memory/memory_pressure_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698