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

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

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress 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
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_THREAD_LOCAL_STORAGE_H_ 5 #ifndef BASE_THREADING_THREAD_LOCAL_STORAGE_H_
6 #define BASE_THREADING_THREAD_LOCAL_STORAGE_H_ 6 #define BASE_THREADING_THREAD_LOCAL_STORAGE_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Calls StaticSlot::Initialize(). 129 // Calls StaticSlot::Initialize().
130 explicit Slot(TLSDestructorFunc destructor = NULL); 130 explicit Slot(TLSDestructorFunc destructor = NULL);
131 131
132 private: 132 private:
133 using StaticSlot::initialized_; 133 using StaticSlot::initialized_;
134 using StaticSlot::slot_; 134 using StaticSlot::slot_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(Slot); 136 DISALLOW_COPY_AND_ASSIGN(Slot);
137 }; 137 };
138 138
139 private:
139 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); 140 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage);
140 }; 141 };
141 142
142 } // namespace base 143 } // namespace base
143 144
144 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_ 145 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_
OLDNEW
« no previous file with comments | « base/threading/thread_collision_warner_unittest.cc ('k') | base/threading/thread_restrictions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698