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

Side by Side Diff: base/threading/thread_restrictions.cc

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/thread_restrictions.h ('k') | base/threading/thread_unittest.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/thread_restrictions.h" 5 #include "base/threading/thread_restrictions.h"
6 6
7 // This entire file is compiled out in Release mode. 7 // This entire file is compiled out in Release mode.
8 #ifndef NDEBUG 8 #ifndef NDEBUG
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/threading/thread_local.h" 12 #include "base/threading/thread_local.h"
13 13
14 namespace base { 14 namespace base {
15 15
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 LOG(FATAL) << "LazyInstance/Singleton is not allowed to be used on this " 54 LOG(FATAL) << "LazyInstance/Singleton is not allowed to be used on this "
55 << "thread. Most likely it's because this thread is not " 55 << "thread. Most likely it's because this thread is not "
56 << "joinable, so AtExitManager may have deleted the object " 56 << "joinable, so AtExitManager may have deleted the object "
57 << "on shutdown, leading to a potential shutdown crash."; 57 << "on shutdown, leading to a potential shutdown crash.";
58 } 58 }
59 } 59 }
60 60
61 } // namespace base 61 } // namespace base
62 62
63 #endif // NDEBUG 63 #endif // NDEBUG
OLDNEW
« no previous file with comments | « base/threading/thread_restrictions.h ('k') | base/threading/thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698