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

Side by Side Diff: base/threading/non_thread_safe_impl.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/threading/non_thread_safe.h ('k') | base/threading/platform_thread.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_THREADING_NON_THREAD_SAFE_IMPL_H_ 5 #ifndef BASE_THREADING_NON_THREAD_SAFE_IMPL_H_
6 #define BASE_THREADING_NON_THREAD_SAFE_IMPL_H_ 6 #define BASE_THREADING_NON_THREAD_SAFE_IMPL_H_
7 #pragma once
8 7
9 #include "base/base_export.h" 8 #include "base/base_export.h"
10 #include "base/threading/thread_checker_impl.h" 9 #include "base/threading/thread_checker_impl.h"
11 10
12 namespace base { 11 namespace base {
13 12
14 // Full implementation of NonThreadSafe, for debug mode or for occasional 13 // Full implementation of NonThreadSafe, for debug mode or for occasional
15 // temporary use in release mode e.g. when you need to CHECK on a thread 14 // temporary use in release mode e.g. when you need to CHECK on a thread
16 // bug that only occurs in the wild. 15 // bug that only occurs in the wild.
17 // 16 //
(...skipping 13 matching lines...) Expand all
31 // used exclusively on another thread. 30 // used exclusively on another thread.
32 void DetachFromThread(); 31 void DetachFromThread();
33 32
34 private: 33 private:
35 ThreadCheckerImpl thread_checker_; 34 ThreadCheckerImpl thread_checker_;
36 }; 35 };
37 36
38 } // namespace base 37 } // namespace base
39 38
40 #endif // BASE_THREADING_NON_THREAD_SAFE_IMPL_H_ 39 #endif // BASE_THREADING_NON_THREAD_SAFE_IMPL_H_
OLDNEW
« no previous file with comments | « base/threading/non_thread_safe.h ('k') | base/threading/platform_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698